github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/default/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