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-¶
-
create cluster
-
create hosted zone (route53-cmd)
- create ACM (create-certificate-with-eksdemo)
- install alb controller (install alb controller)
- install external dns (install externaldns)
- install game-2048 (link)
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)