docs: Improve troubleshooting instructions

This commit is contained in:
yiannistri
2025-01-08 14:26:01 +00:00
parent 4dd65ee2a2
commit e5176e033b
3 changed files with 19 additions and 11 deletions
@@ -291,13 +291,15 @@ To annotate a registered cluster,
## Troubleshooting
This section lists some of the most common errors that may occur when importing a cluster, along with steps to troubleshoot them.
This section lists some of the most common errors that may occur when importing a cluster and provides steps to troubleshoot them.
### AKS
- The following error may occur if local accounts are disabled in your cluster.
- The following error may occur if local accounts are disabled in your cluster.
```sh
Error: Getting static credential is not allowed because this cluster is set to disable local accounts.
```
To resolve this issue, enable local accounts before attempting to [import the cluster](#registering-a-cluster) again.
```sh
@@ -295,10 +295,13 @@ This section lists some of the most common errors that may occur when importing
### AKS
#### Error: Getting static credential is not allowed because this cluster is set to disable local accounts.
* This may occur if your cluster has disabled local accounts. Enable local accounts before attempting to import the cluster again:
- The following error may occur if local accounts are disabled in your cluster.
```sh
Error: Getting static credential is not allowed because this cluster is set to disable local accounts.
```
To resolve this issue, enable local accounts before attempting to [import the cluster](#registering-a-cluster) again.
```sh
az aks update --resource-group <resource-group> --name <cluster-name> --enable-local-accounts
```
@@ -291,14 +291,17 @@ To annotate a registered cluster,
## Troubleshooting
This section lists some of the most common errors that may occur when importing a cluster, along with steps to troubleshoot them.
This section lists some of the most common errors that may occur when importing a cluster and provides steps to troubleshoot them.
### AKS
#### Error: Getting static credential is not allowed because this cluster is set to disable local accounts.
* This may occur if your cluster has disabled local accounts. Enable local accounts before attempting to import the cluster again:
- The following error may occur if local accounts are disabled in your cluster.
```sh
Error: Getting static credential is not allowed because this cluster is set to disable local accounts.
```
To resolve this issue, enable local accounts before attempting to [import the cluster](#registering-a-cluster) again.
```sh
az aks update --resource-group <resource-group> --name <cluster-name> --enable-local-accounts
```