You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/kubernetes-fleet/networking/troubleshoot-dns-load-balancing.md
+37-37Lines changed: 37 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,25 +24,25 @@ This article provides troubleshooting information for Azure Kubernetes Fleet Man
24
24
25
25
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).
26
26
27
-
## TrafficManagerProfile or Traffic Manager can't be created
27
+
## Scenario 1: TrafficManagerProfile or Traffic Manager can't be created
28
28
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.
30
30
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.
32
32
33
33
```bash
34
34
kubectl get trafficmanagerprofile -n <namespace> <profile-name> -o yaml
35
35
```
36
36
37
-
### Invalid resource group or insufficient permissions
37
+
### Error 1: The client does not have authorization to perform action
38
38
39
-
Possible causes:
39
+
This issue may occur if one of the following conditions are met:
40
40
41
41
* A nonexistent Azure resource group was specified in the `TrafficManagerProfile` manifest.
42
42
* The resource group is not the same Azure Subscription as the Fleet Manager resource.
43
43
* The Fleet Manager hub cluster identity does not have permission to create and manage Azure Traffic Manager profiles in the specified resource group.
44
44
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.
46
46
47
47
```yml
48
48
status:
@@ -70,18 +70,18 @@ status:
70
70
type: Programmed
71
71
```
72
72
73
-
**Possible Resolutions:**
73
+
#### Solution
74
74
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:
77
76
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).
79
79
80
-
Possible causes:
80
+
### Error 2: Domain name is not available
81
81
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`.
83
83
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.
85
85
86
86
```yml
87
87
status:
@@ -94,19 +94,18 @@ status:
94
94
type: Programmed
95
95
```
96
96
97
-
**Possible Resolutions:**
97
+
#### Solution
98
98
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:
- 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.
* 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.
108
107
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.
110
109
111
110
```yml
112
111
status:
@@ -118,16 +117,15 @@ status:
118
117
status: "False"
119
118
type: Programmed
120
119
```
120
+
#### Solution
121
121
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).
123
123
124
-
### Azure Traffic Manager returns an error
124
+
### Error 4: Azure Traffic Manager returns an error
125
125
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.
129
127
130
-
The `TrafficManagerProfile` status provides details of the error.
128
+
The following is the example of the TrafficManagerProfile status that shows this error.
131
129
132
130
```yml
133
131
status:
@@ -140,26 +138,28 @@ status:
140
138
type: Programmed
141
139
```
142
140
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.
144
144
145
-
## TrafficManagerBackend can't be created
145
+
## Scenario 2: TrafficManagerBackend can't be created
146
146
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.
148
148
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.
150
150
151
151
```bash
152
152
kubectl get trafficmanagerbackend -n <namespace> <backend-name> -o yaml
153
153
```
154
154
155
-
### Invalid TrafficManagerProfile
155
+
### Error1: TrafficManagerProfile is not found or Invalid trafficManagerProfile
156
156
157
-
Possible causes:
157
+
This issue may occur if one of the following conditions are met:
158
158
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.
161
161
162
-
The `TrafficManagerBackend` status provides details of the error.
162
+
The following are the examples of the TrafficManagerProfile status that shows this error.
163
163
164
164
```yml
165
165
status:
@@ -186,7 +186,7 @@ status:
186
186
type: Accepted
187
187
```
188
188
189
-
**Possible Resolutions:**
189
+
### Solution
190
190
191
191
* Make sure to create the `TrafficManagerBackend` in the same namespace as the `TrafficManagerProfile`.
192
192
* Ensure that the `Programmed` condition of `TrafficManagerProfile` is `Accepted`. If not, check the profile definition for validity and resubmit.
0 commit comments