Skip to content

Commit c0a72d2

Browse files
authored
added doc for setting up cloud provider kubectl auth via plugin
Signed-off-by: GitHub <[email protected]>
1 parent efe2fc9 commit c0a72d2

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-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: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,15 @@ 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+
{{< note >}}
41+
### Troubleshooting the 'No Auth Provider Found' Error Message
42+
43+
In Kubernetes **v1.26**, kubectl removed the built-in authentication for the following cloud
44+
providers managed Kubernetes offerings. These providers have released kubectl plugins to provide the cloud-specific authentication. For instructions, refer to the following provider documentation:
45+
46+
* AKS (Azure): [kubelogin plugin](https://github.com/Azure/kubelogin)
47+
* GKE (Google Cloud): [gke-gcloud-auth-plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin)
48+
49+
{{< /note >}}

0 commit comments

Comments
 (0)