sigs.k8s.io/cluster-api-provider-azure@v1.14.3/config/capz/manager_prometheus_metrics_patch.yaml (about)

     1  # This patch enables Prometheus scraping for the manager pod.
     2  apiVersion: apps/v1
     3  kind: Deployment
     4  metadata:
     5    name: controller-manager
     6    namespace: system
     7  spec:
     8    template:
     9      metadata:
    10        annotations:
    11          prometheus.io/scrape: 'true'
    12      spec:
    13        containers:
    14        # Expose the prometheus metrics on default port
    15        - name: manager
    16          ports:
    17          - containerPort: 8080
    18            name: metrics
    19            protocol: TCP