Run these steps at least one hour before you plan to start your demo.
- Change into the
/fargate-cluster
directory - If you chose not to deploy the cluster earlier, deploy it now:
eksctl create cluster -f fargate-cluster.yaml
. - Wait for the cluster to successfully deploy.
- Ensure you are connected to the correct cluster:
kubectx <cluster name>
- Run the
customise-app-manifests.sh
script from the repository top level to customise the application manifests, based on the cluster that you just created. - Create the
fargate
namespace within your cluster:kubectl apply -f fargate-namespace.yaml
- Run the
install-cluster-utils.sh
script to install various utilities including Helm, Metrics Server, and Prometheus and Grafana. - Open your browser, open the URL and log in with the credentials supplied at the end of the script
- Open the following pages from the AWS Console and log into your AWS account:
- EKS Console
- IAM Console
- Route 53 Console
- Clear down any existing Route 53 records if you wish
- Load Balancer Console
If you wish, you can run these steps as part of the demo, or complete them beforehand to keep the demo shorter.
- Run
kubectl get pods -A
to check the status of thealb-ingress-controller-*
andexternal-dns
pods until they are both in theRunning
state - Continue with the Sock Shop demo README.md
- If you have deployed any services that have created ELBs, ALBs or NLBs, ensure you delete these from the cluster using
kubectl
- If you have deployed any Helm releases, ensure you delete these from the cluster using
helm ls -a --all-namespaces | awk 'NR > 1 { print "-n "$2, $1}' | xargs -L1 helm delete
- Change into the
/fargate-cluster
directory - Run
eksctl delete cluster -f fargate-cluster.yaml
to delete the cluster