mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
18 lines
318 B
YAML
18 lines
318 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
namespace: kube-system
|
||
|
name: kube-scheduler-prometheus-discovery
|
||
|
labels:
|
||
|
k8s-app: kube-scheduler
|
||
|
spec:
|
||
|
selector:
|
||
|
component: kube-scheduler
|
||
|
type: ClusterIP
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: http-metrics
|
||
|
port: 10251
|
||
|
targetPort: 10251
|
||
|
protocol: TCP
|