Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create EKS context. Run the command below. You don’t need to run this command again once the context is created.

    Code Block
    aws eks update-kubeconfig --region ap-southeast-2 --name <your cluster name> --profile cloudservice
  2. Get all kubectl contexts available.

    Code Block
    kubectl config get-contexts
  3. Select the context for the cluster that you want to work on.

    Code Block
    kubectl config use-context <context name>
  4. Test the connection.

    Code Block
    kubectl get namespace