Skip to content

Commit d25e3d9

Browse files
authored
Update troubleshoot-dns-load-balancing.md
1 parent a41c3a0 commit d25e3d9

1 file changed

Lines changed: 37 additions & 37 deletions

File tree

support/azure/kubernetes-fleet/networking/troubleshoot-dns-load-balancing.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ This article provides troubleshooting information for Azure Kubernetes Fleet Man
2424
2525
5. Access to the Fleet Manager hub cluster Kubernetes API. For more information, see [Access the Fleet Manager hub cluster API](/azure/kubernetes-fleet/access-fleet-hub-cluster-kubernetes-api).
2626
27-
## TrafficManagerProfile or Traffic Manager can't be created
27+
## Scenario 1: TrafficManagerProfile or Traffic Manager can't be created
2828
29-
Common reasons and solutions for the `TrafficManagerProfile` Kubernetes object and its associated Azure Traffic Manager resource not being created.
29+
This section provides common reasons and solutions for the `TrafficManagerProfile` Kubernetes object and its associated Azure Traffic Manager resource not being created screnarios.
3030
31-
In all the following scenarios you can check the status of the `TrafficManagerProfile` object on the Fleet Manager hub cluster using the `kubectl` command.
31+
To determine the appropriate resolution, check the status of the `TrafficManagerProfile` object on the Fleet Manager hub cluster for the error message.
3232
3333
```bash
3434
kubectl get trafficmanagerprofile -n <namespace> <profile-name> -o yaml
3535
```
3636

37-
### Invalid resource group or insufficient permissions
37+
### Error 1: The client does not have authorization to perform action
3838

39-
Possible causes:
39+
This issue may occur if one of the following conditions are met:
4040

4141
* A nonexistent Azure resource group was specified in the `TrafficManagerProfile` manifest.
4242
* The resource group is not the same Azure Subscription as the Fleet Manager resource.
4343
* The Fleet Manager hub cluster identity does not have permission to create and manage Azure Traffic Manager profiles in the specified resource group.
4444

45-
The `TrafficManagerProfile` status provides details of the source of the error.
45+
You can check The `TrafficManagerProfile` status for details of the error. The following is the example of the TrafficManagerProfile status that shows the insufficient permissions issue.
4646

4747
```yml
4848
status:
@@ -70,18 +70,18 @@ status:
7070
type: Programmed
7171
```
7272
73-
**Possible Resolutions:**
73+
#### Solution
7474
75-
* Ensure the Azure resource group exists and is the same Azure Subscription as the Fleet Manager.
76-
* Check the Fleet Manager hub cluster identity has been granted the `Traffic Manager Contributor` role scoped to the resource group. For more information, see [Configure Fleet Manager permissions](/azure/kubernetes-fleet/howto-dns-load-balancing#configure-fleet-manager-permissions).
75+
To resolve this issue, follow these steps:
7776
78-
### Azure Traffic Manager DNS prefix is unavailable
77+
1. Ensure the Azure resource group exists and is the same Azure Subscription as the Fleet Manager.
78+
2. Check the Fleet Manager hub cluster identity has been granted the `Traffic Manager Contributor` role scoped to the resource group. For more information, see [Configure Fleet Manager permissions](/azure/kubernetes-fleet/howto-dns-load-balancing#configure-fleet-manager-permissions).
7979

80-
Possible causes:
80+
### Error 2: Domain name is not available
8181

82-
* The DNS prefix generated is already in use by another Azure Traffic Manager profile. The DNS prefix consists of the namespace and the `metadata.name` field in the `TrafficManagerProfile` manifest. For example, if the namespace is `team-a` and the `metadata.name` is `webapp`, the DNS prefix would `team-a-webapp`.
82+
This issue may occur if the DNS prefix generated is already in use by another Azure Traffic Manager profile. The DNS prefix consists of the namespace and the `metadata.name` field in the `TrafficManagerProfile` manifest. For example, if the namespace is `team-a` and the `metadata.name` is `webapp`, the DNS prefix would `team-a-webapp`.
8383

84-
The `TrafficManagerProfile` status provides details of the source of the error.
84+
The following is the example of the TrafficManagerProfile status that shows the Domain name is not available issue.
8585

8686
```yml
8787
status:
@@ -94,19 +94,18 @@ status:
9494
type: Programmed
9595
```
9696

97-
**Possible Resolutions:**
97+
#### Solution
9898

99-
* Use `nslookup` or a similar tool to check if the full DNS name (`team-a-webapp.trafficmanager.net`) is available.
100-
* Change the `metadata.name` field in the `TrafficManagerProfile` manifest to a unique name.
101-
* Use a different namespace for the `TrafficManagerProfile` manifest. THis impacts the `TrafficManagerBackend` and `ServiceExport` objects, which must be in the same namespace.
99+
To resolve this issue, use `nslookup` or a similar tool to check if the full DNS name ( for example `team-a-webapp.trafficmanager.net`) is available. If it‘s not available, consider one of the following solutions:
102100

103-
### Azure Traffic Manager subscription limits reached
101+
- Change the `metadata.name` field in the `TrafficManagerProfile` manifest to a unique name.
102+
- Use a different namespace for the `TrafficManagerProfile` manifest. This impacts the `TrafficManagerBackend` and `ServiceExport` objects, which must be in the same namespace.
104103

105-
Possible causes:
104+
### Error 3: Azure Traffic Manager subscription limits reached
106105

107-
* More than 200 Traffic Manager Profiles or Endpoints within a single Azure Subscription.
106+
This issue may occur if more than 200 Traffic Manager Profiles or Endpoints within a single Azure Subscription.
108107

109-
The `TrafficManagerProfile` status provides details of the error.
108+
The following is the example of the TrafficManagerProfile status that shows the Azure Traffic Manager profile limits reached issue.
110109

111110
```yml
112111
status:
@@ -118,16 +117,15 @@ status:
118117
status: "False"
119118
type: Programmed
120119
```
120+
#### Solution
121121

122-
**Possible Resolutions:** Consider deleting unused profiles or requesting an increase in the limit. For more information, see [Azure Traffic Manager limits](/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-traffic-manager-limits).
122+
Consider to delete unused profiles or requesting an increase in the limit. For more information, see [Azure Traffic Manager limits](/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-traffic-manager-limits).
123123

124-
### Azure Traffic Manager returns an error
124+
### Error 4: Azure Traffic Manager returns an error
125125

126-
Possible causes:
127-
128-
* The Azure Traffic Manager service returns an error when creating the profile.
126+
This issue may occur if the Azure Traffic Manager service returns an error when creating the profile.
129127

130-
The `TrafficManagerProfile` status provides details of the error.
128+
The following is the example of the TrafficManagerProfile status that shows this error.
131129

132130
```yml
133131
status:
@@ -140,26 +138,28 @@ status:
140138
type: Programmed
141139
```
142140

143-
**Possible Resolutions:** If the error persists, check the Azure Traffic Manager service health.
141+
#### Solution
142+
143+
If the error persists, check the Azure Traffic Manager service health.
144144

145-
## TrafficManagerBackend can't be created
145+
## Scenario 2: TrafficManagerBackend can't be created
146146

147-
Common reasons and solutions for the `TrafficManagerBackend` Kubernetes object not being created.
147+
This section provides common causes and recommended solutions for scenarios that the TrafficManagerBackend Kubernetes can't be created.
148148

149-
In all cases, check the status of the `TrafficManagerBackend` object on the Fleet Manager hub cluster.
149+
To determine the appropriate resolution, check the status of the `TrafficManagerBackend` object on the Fleet Manager hub cluster for the error message.
150150

151151
```bash
152152
kubectl get trafficmanagerbackend -n <namespace> <backend-name> -o yaml
153153
```
154154

155-
### Invalid TrafficManagerProfile
155+
### Error1: TrafficManagerProfile is not found or Invalid trafficManagerProfile
156156

157-
Possible causes:
157+
This issue may occur if one of the following conditions are met:
158158

159-
* The `TrafficManagerBackend` was created in a different namespace than the `TrafficManagerProfile`.
160-
* The `TrafficManagerProfile` object exists, but the associated Azure Traffic Manager resource couldn't be found.
159+
- The `TrafficManagerBackend` was created in a different namespace than the `TrafficManagerProfile`.
160+
- The `TrafficManagerProfile` object exists, but the associated Azure Traffic Manager resource couldn't be found.
161161

162-
The `TrafficManagerBackend` status provides details of the error.
162+
The following are the examples of the TrafficManagerProfile status that shows this error.
163163

164164
```yml
165165
status:
@@ -186,7 +186,7 @@ status:
186186
type: Accepted
187187
```
188188

189-
**Possible Resolutions:**
189+
### Solution
190190

191191
* Make sure to create the `TrafficManagerBackend` in the same namespace as the `TrafficManagerProfile`.
192192
* Ensure that the `Programmed` condition of `TrafficManagerProfile` is `Accepted`. If not, check the profile definition for validity and resubmit.

0 commit comments

Comments
 (0)