You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
427 B

  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: kube-dns
  6. namespace: {{ system_namespace }}
  7. labels:
  8. k8s-app: kube-dns
  9. kubernetes.io/cluster-service: "true"
  10. addonmanager.kubernetes.io/mode: Reconcile
  11. kubernetes.io/name: "KubeDNS"
  12. spec:
  13. selector:
  14. k8s-app: kube-dns
  15. clusterIP: {{ skydns_server }}
  16. ports:
  17. - name: dns
  18. port: 53
  19. protocol: UDP
  20. - name: dns-tcp
  21. port: 53
  22. protocol: TCP