From f7e8ca19b33607c46abbf82ff23ddc5e40e8d527 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 7 Aug 2024 08:05:06 +0300 Subject: [PATCH] azure-private-dns: Fix LoadBalancer example annotations should be inside the metadata object. --- docs/tutorials/azure-private-dns.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/tutorials/azure-private-dns.md b/docs/tutorials/azure-private-dns.md index dc588ee0ab..bd15056115 100644 --- a/docs/tutorials/azure-private-dns.md +++ b/docs/tutorials/azure-private-dns.md @@ -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