kube-anesthesia/config/prometheus/monitor.yaml
Frank Villaro-Dixon b604483aef wip
Signed-off-by: Frank Villaro-Dixon <frank.villarodixon@merkle.com>
2023-06-01 23:35:03 +02:00

26 lines
801 B
YAML

# Prometheus Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
control-plane: controller-manager
app.kubernetes.io/name: servicemonitor
app.kubernetes.io/instance: controller-manager-metrics-monitor
app.kubernetes.io/component: metrics
app.kubernetes.io/created-by: kube-anesthesia-operator
app.kubernetes.io/part-of: kube-anesthesia-operator
app.kubernetes.io/managed-by: kustomize
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
selector:
matchLabels:
control-plane: controller-manager