rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics-serviceMonitor.yaml

26 lines
510 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: kube-state-metrics
name: kube-state-metrics
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
endpoints:
- honorLabels: true
2018-03-02 01:03:53 +01:00
interval: 30s
port: http-main
scheme: http
scrapeTimeout: 30s
2018-03-02 01:03:53 +01:00
tlsConfig:
insecureSkipVerify: true
- interval: 30s
port: http-self
scheme: http
2018-03-02 01:03:53 +01:00
tlsConfig:
insecureSkipVerify: true
jobLabel: k8s-app
2018-03-02 01:03:53 +01:00
selector:
matchLabels:
k8s-app: kube-state-metrics