mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
add metric-labels-allowlist
This commit is contained in:
@@ -28,6 +28,8 @@ metrics-server:
|
||||
name: vmalertmanager-alertmanager
|
||||
|
||||
kube-state-metrics:
|
||||
extraArgs:
|
||||
- --metric-labels-allowlist=pods=[*],deployments=[*]
|
||||
rbac:
|
||||
extraRules:
|
||||
- apiGroups:
|
||||
|
||||
@@ -15,7 +15,7 @@ vertical-pod-autoscaler:
|
||||
storage: prometheus
|
||||
memory-saver: true
|
||||
pod-label-prefix: label_
|
||||
metric-for-pod-labels: container_cpu_usage_seconds_total
|
||||
metric-for-pod-labels: kube_pod_labels{job="kube-state-metrics"}[8d]
|
||||
pod-name-label: pod
|
||||
pod-namespace-label: namespace
|
||||
prometheus-address: http://vmselect-shortterm.tenant-root.svc.cozy.local:8481/select/0/prometheus/
|
||||
|
||||
Reference in New Issue
Block a user