EKSctl: Difference between revisions
Jump to navigation
Jump to search
Line 86: | Line 86: | ||
| valign="top" | | | valign="top" | | ||
* [https://eksctl.io/usage/iamserviceaccounts/ EKS » CLI » IAM » EKS Pod Identity Associations] | |||
* [https://eksctl.io/usage/pod-identity-associations/ EKS » CLI » IAM » Roles for Service Accounts] | |||
* [https://anywhere.eks.amazonaws.com/docs/getting-started/airgapped/ EKS » CLI » Plugins » Anywhere » Airgapped] | * [https://anywhere.eks.amazonaws.com/docs/getting-started/airgapped/ EKS » CLI » Plugins » Anywhere » Airgapped] | ||
* [https://anywhere.eks.amazonaws.com/docs/getting-started/docker/ EKS » CLI » Plugins » Anywhere » Docker] | * [https://anywhere.eks.amazonaws.com/docs/getting-started/docker/ EKS » CLI » Plugins » Anywhere » Docker] | ||
* [https://eksctl.io/usage/vpc-subnet-settings/ EKS » CLI » VPC » Subnet Settings] | |||
* [https://eksctl.io/usage/vpc-cluster-access/ EKS » CLI » VPC » Cluster Access] | |||
* [https://eksctl.io/usage/vpc-configuration/ EKS » CLI » VPC » Configuration] | |||
* [https://anywhere.eks.amazonaws.com/docs/getting-started/install/ EKS » CLI » Plugins » Anywhere] | * [https://anywhere.eks.amazonaws.com/docs/getting-started/install/ EKS » CLI » Plugins » Anywhere] | ||
* [https://eksctl.io/usage/vpc-networking/ EKS » CLI » VPC » Networking] | |||
* [https://eksctl.io/usage/troubleshooting/ EKS » CLI » Troubleshooting] | |||
| valign="top" | | | valign="top" | |
Revision as of 00:46, 23 July 2024
PLATFORM=$(uname -s)_$(dpkg --print-architecture)
wget -cq https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_${PLATFORM}.tar.gz -P ${HOME}/Downloads
SUM_SUFFIX=$(curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_checksums.txt"|grep ${PLATFORM})
cat << EXE|bash
cd ${HOME}/Downloads
echo ${SUM_SUFFIX}|sha256sum --check
tar -xzf eksctl_${PLATFORM}.tar.gz
rm -rf eksctl_${PLATFORM}.tar.gz
EXE
cat << EXE|sudo bash
cd ${HOME}/Downloads
mv eksctl /usr/local/bin
EXE
Playground
export KUBECONFIG="${HOME}/.kube/aws-kubeconfig.yaml"
aws eks update-kubeconfig --region ap-southeast-1 --name sdlc_cluster
aws eks get-token --region=ap-southeast-1 --cluster-name=sdlc_cluster
|
eksctl get cluster --region ap-southeast-1 --name sdlc_cluster
eksctl get cluster
eksctl version
|
| |
export AWS_PROFILE=academia
aws eks list-clusters
eksctl get cluster
|
eksctl get labels --cluster=sdlc_cluster --nodegroup=<node_group>
eksctl get nodegroup --cluster=sdlc_cluster
eksctl utils schema
|
| |
kubectl version --client --output=json|jq .
aws sts get-caller-identity
eksctl anywhere version
|
kubectl get pods -A -o wide
kubectl get nodes -o wide
kubectl get nodes -v=10
|