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.

23 lines
407 B

  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. labels:
  6. kubernetes.io/cluster-service: 'true'
  7. k8s-app: dnsmasq
  8. name: dnsmasq
  9. namespace: kube-system
  10. spec:
  11. ports:
  12. - port: 53
  13. name: dns-tcp
  14. targetPort: 53
  15. protocol: TCP
  16. - port: 53
  17. name: dns
  18. targetPort: 53
  19. protocol: UDP
  20. type: ClusterIP
  21. clusterIP: {{dnsmasq_dns_server}}
  22. selector:
  23. k8s-app: dnsmasq