aws sts get-caller-identity
brew/choco install aws-iam-auntenticator kubectl/kubernetes-cli
brew tap weaveworks/tap
brew install weaveworks/tap/eksctl
choco install -y eksctl
eksctl version
create ssh key for eks nodes:
---
ssh-keygen
eks_worker_nodes_demo.pem
eksctl create cluster \
--name eks-from-eksctl \
--version 1.16 \
--region us-west-2 \
--nodegroup-name workers \
--node-type t3.large \
--nodes 1 \
--nodes-min 1 \
--nodes-max 2 \
--ssh-access \
--ssh-public-key ~/.ssh/eks-demo.pem.pub \
--managed
or in single line:
eksctl create cluster --name eks-from-eksctl --version 1.16 --region us-west-2 --nodegroup-name workers --node-type t3.large --nodes 1 --nodes-min 1 --nodes-max 2 --ssh-access --ssh-public-key C:\filepublickey --managed
aws eks describe-cluster --name eks-from-eksctl --region us-west-2
eksctl delete cluster --name test-cluster-1 --region us-east-1
No comments:
Post a Comment