Skip to content

Commit cff0b8c

Browse files
committed
Troubleshooting GitIssues
1 parent 3d382cf commit cff0b8c

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

articles/aks/static-ip.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: allensu
77
ms.service: azure-kubernetes-service
88
ms.subservice: aks-networking
99
ms.topic: how-to
10-
ms.date: 02/24/2023
10+
ms.date: 02/27/2023
1111

1212
#Customer intent: As a cluster operator or developer, I want to create and manage static IP address resources in Azure that I can use beyond the lifecycle of an individual Kubernetes service deployed in an AKS cluster.
1313
---
@@ -112,6 +112,22 @@ spec:
112112
app: azure-load-balancer
113113
```
114114
115+
To see the DNS label for your load balancer, run the following command:
116+
117+
```console
118+
kubectl describe service azure-load-balancer
119+
```
120+
121+
The DNS label will be listed under the `Annotations`, as shown in the following condensed example output:
122+
123+
```console
124+
Name: azure-load-balancer
125+
Namespace: default
126+
Labels: <none>
127+
Annotations: service.beta.kuberenetes.io/azure-dns-label-name: myserviceuniquelabel
128+
...
129+
```
130+
115131
> [!NOTE]
116132
> To publish the service on your own domain, see [Azure DNS][azure-dns-zone] and the [external-dns][external-dns] project.
117133

0 commit comments

Comments
 (0)