Merge pull request #4663 from orgads/patch-1

azure-private-dns: Fix LoadBalancer example
This commit is contained in:
Kubernetes Prow Robot 2024-08-07 07:48:53 -07:00 committed by GitHub
commit 1ceaf798ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -330,12 +330,12 @@ Apply the following manifest to create a service of type `LoadBalancer`. This wi
---
apiVersion: v1
kind: Service
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
external-dns.alpha.kubernetes.io/hostname: server.example.com
external-dns.alpha.kubernetes.io/internal-hostname: server-clusterip.example.com
metadata:
name: nginx-svc
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
external-dns.alpha.kubernetes.io/hostname: server.example.com
external-dns.alpha.kubernetes.io/internal-hostname: server-clusterip.example.com
spec:
ports:
- port: 80