mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +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
|