eksdemo¶
install¶
curl --location "https://github.com/awslabs/eksdemo/releases/latest/download/eksdemo_$(uname -s)_x86_64.tar.gz" |tar xz -C /tmp
sudo mv -v /tmp/eksdemo /usr/local/bin
create-eks-cluster-¶
CLUSTER_NAME=ekscluster1
export AWS_DEFAULT_REGION=us-west-2
eksdemo create cluster ${CLUSTER_NAME} \
--instance m5.large \
--nodes 3 \
--version 1.29 \
--vpc-cidr 10.10.0.0/16
create node group¶
fargate-profile-¶
CLUSTER_NAME=ekscluster1
export AWS_DEFAULT_REGION=us-west-2
NAMESPACE=game-2048
eksdemo create fargate-profile fp-game-2048 \
-c ${CLUSTER_NAME}
--namespaces ${NAMESPACE}
addons-¶
- externaldns (externaldns-for-route53)
- aws load balancer controller (aws-load-balancer-controller)
-
metrics-server (metrics-server)
-
2 certificates, one for each domain name in original region
refer: create-certificate-with-eksdemo
refer¶
- when create broken due to role change in cloud9, add another admin user to eks cluster and try create nodegroup (eks-access-api)