rancher-partner-charts/charts/stackstate/stackstate-k8s-agent/1.0.95/test/values/clustercheck_ksm_override.yaml

27 lines
792 B
YAML

checksAgent:
enabled: true
dependencies:
kubeStateMetrics:
enabled: true
agent:
config:
override:
# agent.config.override -- Disables kubernetes_state check on regular agent pods.
- name: auto_conf.yaml
path: /etc/stackstate-agent/conf.d/kubernetes_state.d
data: |
clusterAgent:
config:
override:
# clusterAgent.config.override -- Defines kubernetes_state check for clusterchecks agents. Auto-discovery
# with ad_identifiers does not work here. Use a specific URL instead.
- name: conf.yaml
path: /etc/stackstate-agent/conf.d/kubernetes_state.d
data: |
cluster_check: true
init_config:
instances:
- kube_state_url: http://YOUR_KUBE_STATE_METRICS_SERVICE_NAME:8080/metrics