You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer/cli-arguments.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ kube-state-metrics \
124
124
--namespaces-denylist="default,kube-system"
125
125
```
126
126
127
-
## Config-file support
127
+
###Config-file support
128
128
129
129
You can provide a YAML config file using the `--config` flag instead of (or in addition to) command-line flags. Any flags passed on the command line will override values in the config file.
For metrics, annotations, and labels, allowlists and denylists cannot be used together. If both are specified, the allowlist takes precedence and the denylist is ignored.
150
150
151
-
## Kubernetes Deployment example
151
+
###Kubernetes Deployment example
152
152
153
153
You can embed any of the flags in a Deployment manifest under `args:`:
154
154
@@ -163,7 +163,7 @@ spec:
163
163
- "--server-idle-timeout=2m"
164
164
```
165
165
166
-
## Experimental flags
166
+
### Experimental flags
167
167
168
168
The following flags are experimental and subject to change:
169
169
@@ -172,7 +172,7 @@ The following flags are experimental and subject to change:
172
172
* `--shard`, `--total-shards`
173
173
* `--track-unscheduled-pods`
174
174
175
-
## Custom Resource State metrics
175
+
### Custom Resource State metrics
176
176
177
177
You can enable custom resource state metrics using:
178
178
@@ -190,7 +190,7 @@ resources:
190
190
- Running
191
191
```
192
192
193
-
## Auth-filter example
193
+
### Auth-filter example
194
194
195
195
Protect the metrics endpoint with Kubernetes RBAC by enabling the auth filter and providing a kubeconfig:
0 commit comments