How do you configure kubectl for an EKS cluster and check upgrade insights?
BeginnerProductionRapid-Fire AWS CLI
Answer
aws eks update-kubeconfig --name prod --region eu-west-1 --alias prod
aws eks describe-cluster --name prod --query 'cluster.{v:version,status:status,endpoint:endpoint}'
aws eks list-insights --cluster-name prod --filter categories=UPGRADE_READINESS
aws eks describe-addon-versions --addon-name vpc-cni --kubernetes-version 1.33 \
--query 'addons[].addonVersions[0].addonVersion'
More on Rapid-Fire AWS CLI
How do you check which identity and account the CLI is using?BeginnerHow do you log in with Identity Center (SSO) from the CLI?BeginnerHow do you assume a role manually and export the credentials?IntermediateHow do you list running instances with name, ID, type and private IP in a table?BeginnerHow do you find the latest Amazon Linux 2023 AMI without hard-coding an ID?BeginnerHow do you open a shell or port-forward to a private instance without SSH?Beginner