mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-30 23:59:34 +01:00
19 lines
389 B
YAML
19 lines
389 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: kube-controller-manager
|
||
|
namespace: kube-system
|
||
|
annotations:
|
||
|
prometheus.io/scrape: 'true'
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
# service is created to allow prometheus to scrape endpoints
|
||
|
clusterIP: None
|
||
|
selector:
|
||
|
k8s-app: kube-controller-manager
|
||
|
ports:
|
||
|
- name: metrics
|
||
|
protocol: TCP
|
||
|
port: 10252
|
||
|
targetPort: 10252
|