You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
530 B
23 lines
530 B
3 months ago
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: kube-scheduler
|
||
|
name: kube-scheduler
|
||
|
namespace: monitoring
|
||
|
spec:
|
||
|
endpoints:
|
||
|
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
||
|
interval: 30s
|
||
|
port: https-metrics
|
||
|
scheme: https
|
||
|
tlsConfig:
|
||
|
insecureSkipVerify: true
|
||
|
jobLabel: app.kubernetes.io/name
|
||
|
namespaceSelector:
|
||
|
matchNames:
|
||
|
- kube-system
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: kube-scheduler
|