Skip to content

HeRoMo/cdk-eks

Repository files navigation

cdk-eks

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.

Requirements

  • AWS IAM User (with AdministratorAccess Policy, not root account)
  • AWS CLI
  • Node.js and Yarn

Deploy

$ 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.

More Information about EKS and resources

License

Apache License 2.0