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