mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-22 19:09:30 +01:00
18 lines
345 B
YAML
18 lines
345 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
namespace: kube-system
|
||
|
name: kube-controller-manager-prometheus-discovery
|
||
|
labels:
|
||
|
k8s-app: kube-controller-manager
|
||
|
spec:
|
||
|
selector:
|
||
|
component: kube-controller-manager
|
||
|
type: ClusterIP
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: http-metrics
|
||
|
port: 10252
|
||
|
targetPort: 10252
|
||
|
protocol: TCP
|