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
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.
146
150
147
151
## Kubernetes Deployment example
152
+
148
153
You can embed any of the flags in a Deployment manifest under `args:`:
154
+
149
155
```yaml
150
156
spec:
151
157
template:
@@ -155,21 +161,27 @@ spec:
155
161
args:
156
162
- "--metric-allowlist=kube_pod_info,kube_node_*"
157
163
- "--server-idle-timeout=2m"
158
-
```
164
+
```
159
165
160
166
## Experimental flags
167
+
161
168
The following flags are experimental and subject to change:
162
-
- `--auto-gomemlimit`, `--auto-gomemlimit-ratio`
163
-
- `--auth-filter`
164
-
- `--shard`, `--total-shards`
165
-
- `--track-unscheduled-pods`
169
+
170
+
* `--auto-gomemlimit`, `--auto-gomemlimit-ratio`
171
+
* `--auth-filter`
172
+
* `--shard`, `--total-shards`
173
+
* `--track-unscheduled-pods`
166
174
167
175
## Custom Resource State metrics
176
+
168
177
You can enable custom resource state metrics using:
0 commit comments