airshipctl/manifests/function/capd/v0.3.11/manager/manager_prometheus_metrics_patch.yaml
Rishabh Kumar Jain 4888c256f5 Add CAPD config v0.3.11
Adding manifests for CAPD config v0.3.11.

Change-Id: Icfe95b68ee613e8e642ad8a8383a2b0cda01821e
2020-10-22 16:17:04 +00:00

20 lines
441 B
YAML

# This patch enables Prometheus scraping for the manager pod.
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
metadata:
annotations:
prometheus.io/scrape: 'true'
spec:
containers:
# Expose the prometheus metrics on default port
- name: manager
ports:
- containerPort: 8080
name: metrics
protocol: TCP