service-dns-udp-ns1.yaml 391 B

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