mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-28 00:07:44 +01:00
16 lines
255 B
YAML
16 lines
255 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: kube-dns
|
||
|
name: kube-dns-prometheus-discovery
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: metrics
|
||
|
port: 9153
|
||
|
targetPort: 9153
|
||
|
selector:
|
||
|
k8s-app: kube-dns
|