mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
26 lines
511 B
YAML
26 lines
511 B
YAML
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: https
|
|
tlsConfig:
|
|
insecureSkipVerify: true
|
|
jobLabel: k8s-app
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: kube-state-metrics
|