2016-09-01 17:01:15 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2016-09-02 11:09:38 +00:00
|
|
|
name: kubedns
|
2016-09-30 15:23:47 +00:00
|
|
|
namespace: {{ kube_namespace }}
|
2016-09-01 17:01:15 +00:00
|
|
|
labels:
|
2016-09-02 11:09:38 +00:00
|
|
|
k8s-app: kubedns
|
2016-09-01 17:01:15 +00:00
|
|
|
kubernetes.io/cluster-service: "true"
|
2016-09-02 11:09:38 +00:00
|
|
|
kubernetes.io/name: "kubedns"
|
2016-09-01 17:01:15 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
2016-09-02 11:09:38 +00:00
|
|
|
k8s-app: kubedns
|
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
|