Update versioned_docs/version-2.5/how-to-guides/advanced-user-guides/manage-clusters/access-clusters/use-kubectl-and-kubeconfig.md

Co-authored-by: Marty Hernandez Avedon <martyavedon@gmail.com>
This commit is contained in:
Enes Malik Sen
2023-03-21 09:41:05 +01:00
committed by GitHub
parent 0475d47edc
commit d7f9ab67cc

View File

@@ -46,9 +46,9 @@ This method is only available for RKE clusters that have the [authorized cluster
We recommend that as a best practice, you should set up this method to access your RKE cluster, so that just in case you cant connect to Rancher, you can still access the cluster.
> **Prerequisites:** The following steps assume that you have created a Kubernetes cluster and followed the steps to [connect to your cluster with kubectl from your workstation.](#accessing-clusters-with-kubectl-from-your-workstation)
> **Hint for RKE2 and K3s:** You will need to perfom manual changes on clusters deployed with RKE2 and K3s to have authorized cluster endpoints enabled. For a detailed explanation of the changes, refer to [this guide.](../../../new-user-guides/kubernetes-clusters-in-rancher-setup/register-existing-clusters.md#authorized-cluster-endpoint-support-for-rke2-and-k3s-clusters)
> **Prerequisites:** The following steps assume that you have created a Kubernetes cluster and followed the steps to [connect to your cluster with kubectl from your workstation.](#accessing-clusters-with-kubectl-from-your-workstation).
>
> On RKE2 and K3s clusters, you need to [manually enable](../../../new-user-guides/kubernetes-clusters-in-rancher-setup/register-existing-clusters.md#authorized-cluster-endpoint-support-for-rke2-and-k3s-clusters) authorized cluster endpoints.
To find the name of the context(s) in your downloaded kubeconfig file, run: