Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
441065c2
Unverified
Commit
441065c2
authored
5 years ago
by
Matt Calvert
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Correct typo in Rolebindig
parent
8fdf1c77
No related branches found
Branches containing commit
Tags
ghost-0.31.0
graylog-0.3.5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/monitoring-other-namespaces.md
+2
-2
2 additions, 2 deletions
docs/monitoring-other-namespaces.md
with
2 additions
and
2 deletions
docs/monitoring-other-namespaces.md
+
2
−
2
View file @
441065c2
...
@@ -5,14 +5,14 @@ This guide will help you monitor applications in other Namespaces. By default th
...
@@ -5,14 +5,14 @@ This guide will help you monitor applications in other Namespaces. By default th
You have to give the list of the Namespaces that you want to be able to monitor.
You have to give the list of the Namespaces that you want to be able to monitor.
This is done in the variable
`prometheus.roleSpecificNamespaces`
. You usually set this in your
`.jsonnet`
file when building the manifests.
This is done in the variable
`prometheus.roleSpecificNamespaces`
. You usually set this in your
`.jsonnet`
file when building the manifests.
Example to create the needed
`Role`
and
`Role
b
indig`
for the Namespace
`foo`
:
Example to create the needed
`Role`
and
`Role
B
indi
n
g`
for the Namespace
`foo`
:
```
```
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
_config+:: {
_config+:: {
namespace: 'monitoring',
namespace: 'monitoring',
prometheus+:: {
prometheus+:: {
namespaces: ["default", "kube-system","foo"],
namespaces: ["default", "kube-system",
"foo"],
},
},
},
},
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment