We will use Helm to install the ALB Ingress Controller.
Check to see if helm is installed:
helm version
If Helm is not found, see installing helm for instructions.
Add helm incubator repository
helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
# Get the VPC ID
export VPC_ID=$(aws eks describe-cluster --name eksworkshop-eksctl --query "cluster.resourcesVpcConfig.vpcId" --output text)
helm --namespace 2048-game install 2048-game \
incubator/aws-alb-ingress-controller \
--set image.tag=${ALB_INGRESS_VERSION} \
--set awsRegion=${AWS_REGION} \
--set awsVpcID=${VPC_ID} \
--set rbac.create=false \
--set rbac.serviceAccount.name=alb-ingress-controller \
--set clusterName=eksworkshop-eksctl
Execute the following command to watch the progress by looking at the deployment status:
kubectl -n 2048-game rollout status \
deployment 2048-game-aws-alb-ingress-controller
Output:
kubectl get pods -n 2048-game
Output: