This repo contains code sample demonstrating how to leverage cdk, cdk8s and cdk8s+ to provision an ESK cluster with Fargate node groups, deploy workloads and expose Kubernetes services.
In addition to an AWS account with permissions to create and manage Amazon EKS cluster, S3 bucket, AWS fargate and the Application Load Balancer, the following tools are also required:
- AWS CDK >= 1.93.0.
- Kubernetes command line tool
kubectl
. - A current version of nodejs.
- VPC with private subnets.
- EKS cluster with Fargate nodegroup.
- Application Load Balancer.
- S3 bucket for K8s workloads.
Simply deploy the stack with AWS CDK
git clone git@github.com:aws-samples/cdk-eks-fargate.git
cd cdk-eks-fargate
npm install
cdk deploy
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.