跳转至

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

eksdemo create ng mng1 \
    -c ekscluster1 -i m5.large -N 3 

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-

right-click & open-in-new-tab:

../awscli/acm-cmd

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)