33 lines
905 B
YAML
33 lines
905 B
YAML
# yamllint disable rule:document-start rule:line-length rule:trailing-spaces
|
|
suite: Alternative discovery settings
|
|
templates:
|
|
- configmap.yaml
|
|
tests:
|
|
- it: should be able to look for kube-state-metrics via pods, rather than endpoints
|
|
set:
|
|
deployAsConfigMap: true
|
|
kube-state-metrics:
|
|
discoveryType: pod
|
|
asserts:
|
|
- isKind:
|
|
of: ConfigMap
|
|
- matchSnapshot:
|
|
path: data["module.alloy"]
|
|
- it: should be able to find the Kubelet and cAdvisor via the API server proxy
|
|
set:
|
|
deployAsConfigMap: true
|
|
kubelet:
|
|
nodeAddressFormat: proxy
|
|
kubeletResource:
|
|
nodeAddressFormat: proxy
|
|
kubeletProbes:
|
|
enabled: true
|
|
nodeAddressFormat: proxy
|
|
cadvisor:
|
|
nodeAddressFormat: proxy
|
|
asserts:
|
|
- isKind:
|
|
of: ConfigMap
|
|
- matchSnapshot:
|
|
path: data["module.alloy"]
|