Skip to content

Commit bd8a090

Browse files
authored
Merge pull request #95844 from ShrutiPPathak/update_troubleshooting_for_apiserver_unreachable
Update troubleshooting docs for when kube api server is unreachable
2 parents cdeaa3c + 9ac924f commit bd8a090

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

articles/dev-spaces/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Yes, you can use Azure Dev Spaces on an AKS cluster that uses CNI for networking
3939

4040
Currently, Azure Dev Spaces is intended to run on Linux pods and nodes only, but you can run Azure Dev Spaces on an AKS cluster with [existing Windows containers][windows-containers].
4141

42-
### Can I use Azure Dev Spaces on AKS clusters with API server authorized IP address ranges enabled?
42+
## Can I use Azure Dev Spaces on AKS clusters with API server authorized IP address ranges enabled?
4343

4444
Yes, you can use Azure Dev Spaces on AKS clusters with [API server authorized IP address ranges][aks-auth-range] enabled. When [creating][aks-auth-range-create] your cluster, you must [allow additional ranges based on your region][aks-auth-range-ranges]. You can also [update][aks-auth-range-update] and existing cluster to allow those additional ranges.
4545

articles/dev-spaces/troubleshooting.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,13 @@ Despite the error message when running `az aks use-dev-spaces` with a version of
8888

8989
To fix this issue, update your installation of the [Azure CLI](/cli/azure/install-azure-cli?view=azure-cli-latest) to 2.0.63 or later. This update will resolve the error message you receive when running `az aks use-dev-spaces`. Alternatively, you can continue to use your current version of the Azure CLI and the Azure Dev Spaces CLI.
9090

91-
### AKS clusters with API server authorized IP address ranges enabled
91+
### Error "Unable to reach kube-apiserver"
9292

93-
If you have [API server authorized IP address ranges](../aks/api-server-authorized-ip-ranges.md) enabled for your AKS cluster, you must also [create](../aks/api-server-authorized-ip-ranges.md#create-an-aks-cluster-with-api-server-authorized-ip-ranges-enabled) or [update](../aks/api-server-authorized-ip-ranges.md#update-a-clusters-api-server-authorized-ip-ranges) your cluster to [allow additional ranges based on your region](https://github.com/Azure/dev-spaces/tree/master/public-ips).
93+
You might see this error when Azure Dev Spaces is unable to connect to your AKS cluster's API server.
94+
95+
If access to your AKS cluster API server is locked down or if you have [API server authorized IP address ranges](../aks/api-server-authorized-ip-ranges.md) enabled for your AKS cluster, you must also [create](../aks/api-server-authorized-ip-ranges.md#create-an-aks-cluster-with-api-server-authorized-ip-ranges-enabled) or [update](../aks/api-server-authorized-ip-ranges.md#update-a-clusters-api-server-authorized-ip-ranges) your cluster to [allow additional ranges based on your region](https://github.com/Azure/dev-spaces/tree/master/public-ips).
96+
97+
Ensure that the API server is available by running kubectl commands. If the API server is unavailable, please contact AKS support and try again when the API server is working.
9498

9599
## Common issues when preparing your project for Azure Dev Spaces
96100

0 commit comments

Comments
 (0)