AWS EKS + Kubeconfig
Dec 13, 2022
⋅
0 minutes read
Update kubeconfig
Create kube config file using aws eks update-kubeconfig
. Make sure to define the variable KUBECONFIG
that points to your desired kube config location.
If you successfully update the config, you will see a output log like this:
Merge config files
Switch between clusters
First, we can list the current context with get-contexts
command
This will show you the available clusters that you are connected to.
To switch contexts, run the command use-context
with one of the available contexts.