mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
azure-private-dns: Fix LoadBalancer example
annotations should be inside the metadata object.
This commit is contained in:
parent
3b35ea6ee7
commit
f7e8ca19b3
@ -330,12 +330,12 @@ Apply the following manifest to create a service of type `LoadBalancer`. This wi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
annotations:
|
||||
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
|
||||
metadata:
|
||||
name: nginx-svc
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
|
Loading…
Reference in New Issue
Block a user