c12s-kubespray/roles/kubernetes-apps/templates/kubedns-svc.yml
Matthew Mosesohn ed5f8aeec8 Rename kube-dns back to kubedns
kubedns should stay named the same so that services which
depend on this name are not broken.
2016-09-02 15:09:49 +04:00

20 lines
362 B
YAML

apiVersion: v1
kind: Service
metadata:
name: kubedns
namespace: kube-system
labels:
k8s-app: kubedns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "kubedns"
spec:
selector:
k8s-app: kubedns
clusterIP: {{ skydns_server }}
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP