Skip to content

Commit 1526572

Browse files
authored
Merge pull request #44134 from coder12git/sur/2
Document setting up cloud provider kubectl auth via plugin (AKS, GKE)
2 parents 59e5fee + 1efeb86 commit 1526572

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

content/en/docs/reference/access-authn-authz/authentication.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,10 @@ protocol specific logic, then returns opaque credentials to use. Almost all cred
888888
use cases require a server side component with support for the [webhook token authenticator](#webhook-token-authentication)
889889
to interpret the credential format produced by the client plugin.
890890

891+
{{< note >}}
892+
Earlier versions of `kubectl` included built-in support for authenticating to AKS and GKE, but this is no longer present.
893+
{{< /note >}}
894+
891895
### Example use case
892896

893897
In a hypothetical use case, an organization would run an external service that exchanges LDAP credentials

content/en/docs/tasks/tools/included/verify-kubectl.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,14 @@ If kubectl cluster-info returns the url response but you can't access your clust
3535

3636
```shell
3737
kubectl cluster-info dump
38-
```
38+
```
39+
40+
### Troubleshooting the 'No Auth Provider Found' error message {#no-auth-provider-found}
41+
42+
In Kubernetes 1.26, kubectl removed the built-in authentication for the following cloud
43+
providers' managed Kubernetes offerings. These providers have released kubectl plugins to provide the cloud-specific authentication. For instructions, refer to the following provider documentation:
44+
45+
* Azure AKS: [kubelogin plugin](https://azure.github.io/kubelogin/)
46+
* Google Kubernetes Engine: [gke-gcloud-auth-plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin)
47+
48+
(There could also be other reasons to see the same error message, unrelated to that change.)

0 commit comments

Comments
 (0)