rpi.carlosedp.cluster-monit.../manifests/prometheus-serviceMonitorKubelet.yaml

32 lines
715 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: kubelet
name: kubelet
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
2018-03-02 01:03:53 +01:00
interval: 30s
port: https-metrics
scheme: https
2018-03-02 01:03:53 +01:00
tlsConfig:
insecureSkipVerify: true
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
2018-03-02 01:03:53 +01:00
honorLabels: true
interval: 30s
path: /metrics/cadvisor
port: https-metrics
scheme: https
2018-03-02 01:03:53 +01:00
tlsConfig:
insecureSkipVerify: true
jobLabel: k8s-app
2018-03-02 01:03:53 +01:00
namespaceSelector:
matchNames:
- kube-system
selector:
matchLabels:
k8s-app: kubelet