2016-09-01 17:01:15 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2017-06-22 08:05:37 +00:00
|
|
|
name: kube-dns
|
2016-12-13 10:43:06 +00:00
|
|
|
namespace: {{ system_namespace }}
|
2016-09-01 17:01:15 +00:00
|
|
|
labels:
|
2017-06-22 08:05:37 +00:00
|
|
|
k8s-app: kube-dns
|
2016-09-01 17:01:15 +00:00
|
|
|
kubernetes.io/cluster-service: "true"
|
2017-06-22 08:05:37 +00:00
|
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
|
|
kubernetes.io/name: "KubeDNS"
|
2016-09-01 17:01:15 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
2017-06-22 08:05:37 +00:00
|
|
|
k8s-app: kube-dns
|
2016-09-01 17:01:15 +00:00
|
|
|
clusterIP: {{ skydns_server }}
|
|
|
|
ports:
|
|
|
|
- name: dns
|
|
|
|
port: 53
|
|
|
|
protocol: UDP
|
|
|
|
- name: dns-tcp
|
|
|
|
port: 53
|
|
|
|
protocol: TCP
|
2017-06-22 08:05:37 +00:00
|
|
|
|