rpi.carlosedp.cluster-monit.../manifests/prometheus-kubeSchedulerPrometheusDiscoveryService.yaml

16 lines
282 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: kube-scheduler
name: kube-scheduler-prometheus-discovery
namespace: kube-system
spec:
clusterIP: None
ports:
- name: http-metrics
port: 10251
targetPort: 10251
selector:
component: kube-scheduler