21 строка
568 B
YAML
21 строка
568 B
YAML
|
|
# Prometheus Monitor Service (Metrics)
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
control-plane: controller-manager
|
|
name: controller-manager-metrics-monitor
|
|
namespace: system
|
|
spec:
|
|
endpoints:
|
|
- path: /metrics
|
|
port: https
|
|
scheme: https
|
|
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
|
tlsConfig:
|
|
insecureSkipVerify: true # Configure certs here if set up for auth_proxy (uses self-signed currently)
|
|
selector:
|
|
matchLabels:
|
|
control-plane: controller-manager
|