A CDK sample of EKS
This CDK project create EKS cluster with the following kubernetes resouces
Ready for auto scaling pods and worker-nodes. Ready for publish your application via AWS ALB.
- AWS IAM User (with AdministratorAccess Policy, not root account)
- AWS CLI
- Node.js and Yarn
$ git clone https://github.com/HeRoMo/cdk-eks.git
$ yarn
$ cdk bootstrap aws://<your account ID>/ap-northeast-1
$ export CDK_INTEG_REGION=<your region>
$ export CDK_INTEG_ACCOUNT=<your account ID>
$ yarn build
$ cdk deploy *Stack
After deploy the stacks, copy and run the outputs command (aws eks update-kubeconfig --name MyEKSCluster ...
) to update your kubeconfig.