2017-08-24 17:09:52 +08:00
|
|
|
---
|
2016-09-02 01:01:15 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2017-06-22 16:05:37 +08:00
|
|
|
name: kube-dns
|
2018-03-30 19:29:13 +08:00
|
|
|
namespace: kube-system
|
2016-09-02 01:01:15 +08:00
|
|
|
labels:
|
2017-06-22 16:05:37 +08:00
|
|
|
k8s-app: kube-dns
|
2016-09-02 01:01:15 +08:00
|
|
|
kubernetes.io/cluster-service: "true"
|
2017-06-22 16:05:37 +08:00
|
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
|
|
kubernetes.io/name: "KubeDNS"
|
2016-09-02 01:01:15 +08:00
|
|
|
spec:
|
|
|
|
selector:
|
2017-06-22 16:05:37 +08:00
|
|
|
k8s-app: kube-dns
|
2016-09-02 01:01:15 +08:00
|
|
|
clusterIP: {{ skydns_server }}
|
|
|
|
ports:
|
|
|
|
- name: dns
|
|
|
|
port: 53
|
|
|
|
protocol: UDP
|
|
|
|
- name: dns-tcp
|
|
|
|
port: 53
|
|
|
|
protocol: TCP
|