service-dns-tcp-ns1.yaml 457 B

12345678910111213141516171819
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: powerdns-dns-tcp-ns1
  5. annotations:
  6. metallb.universe.tf/allow-shared-ip: key-to-share-powerdns-dns-tcp-ns1
  7. external-dns.alpha.kubernetes.io/hostname: ns1.home.wugi.info
  8. spec:
  9. loadBalancerIP: 192.168.154.225
  10. ports:
  11. - name: dns-tcp
  12. port: 53
  13. protocol: TCP
  14. targetPort: dns-tcp
  15. selector:
  16. app.kubernetes.io/instance: powerdns
  17. app.kubernetes.io/name: powerdns
  18. type: LoadBalancer