Skip to content

Commit

Permalink
azure-private-dns: Fix LoadBalancer example
Browse files Browse the repository at this point in the history
annotations should be inside the metadata object.
  • Loading branch information
orgads authored Aug 7, 2024
1 parent 3b35ea6 commit f7e8ca1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorials/azure-private-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7e8ca1

Please sign in to comment.