5cf6528dee
Version 0.3.1 has been used as a basis for this function Closes: #161 Change-Id: I7c15fdff0a0cb2ba90295d0a403f737ee4398deb
20 lines
441 B
YAML
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
|