Skip to content

Commit

Permalink
Update docs/how-to-guides/new-user-guides/kubernetes-clusters-in-ranc…
Browse files Browse the repository at this point in the history
…her-setup/register-existing-clusters.md

Co-authored-by: Lucas Saintarbor <[email protected]>
  • Loading branch information
yiannistri and LucasSaintarbor committed Jan 8, 2025
1 parent 0216d04 commit acfbf6f
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,11 @@ 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:

```
az aks update --resource-group <resource-group> --name <cluster-name> --enable-local-accounts
```
- 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
```

0 comments on commit acfbf6f

Please sign in to comment.