kubectl

29 days ago

Set up auth info

aws configure

Verify Auth info

aws sts get-caller-identity

Update cluster info

aws eks update-kubeconfig --region [region] --name [cluster name]

Set up context and name space

kubectl config use-context [context name]

  • arn:aws:eks...

kubectl config set-context --current --namespace=[name space]

Verify context and namespace

kubectl get svc

Get Pods

kubectl get pods

View Pod Logs

kubectl logs pod [pod]

David D.

David Dyess .com

Copyright © 1999 - 2025