Demo of the AWS Load Balancer Controller deployed in a Kubernetes cluster created with eksctl
Note: This is not production-ready setup. It only demonstrates how to deploy the AWS Load Balancer controller and create NLB via Service and ALB via Ingress.
eksctl
version0.38.0
- Install instructionskubectl
versionv1.18.0
- Install instructionshelm
versionv3.2.0
- Install instructions
- Create the EKS cluster. After the cluster is created, the eksctl cli will add the cluster config in the default kubeconfig location and change the current kube context to the newly created one.
./scripts/create-eks-cluster.sh
- Deploy the AWS Load Balancer Controller
./scripts/deploy-aws-lb-controller.sh
- Deploy the NLB example. The script will print the NLB url in the terminal. Note that it can take a few minutes until the load balancer is ready.
./scripts/deploy-nlb-example.sh
- Deploy the ALB example. The script will print the ALB url in the terminal. Note that it can take a few minutes until the load balancer is ready.
./scripts/deploy-alb-example.sh
- Delete all examples and the entire Kubernetes cluster
./scripts/cleanup.sh