Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.47 KB

README.md

File metadata and controls

42 lines (32 loc) · 2.47 KB

EKS on Fargate Demo: Fargate and Managed Nodes Demo Cluster

Contents

Setup

Run these steps at least one hour before you plan to start your demo.

  1. Change into the /fargate-cluster directory
  2. If you chose not to deploy the cluster earlier, deploy it now: eksctl create cluster -f fargate-cluster.yaml.
  3. Wait for the cluster to successfully deploy.
  4. Ensure you are connected to the correct cluster: kubectx <cluster name>
  5. 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.
  6. Create the fargate namespace within your cluster: kubectl apply -f fargate-namespace.yaml
  7. Run the install-cluster-utils.sh script to install various utilities including Helm, Metrics Server, and Prometheus and Grafana.
  8. Open your browser, open the URL and log in with the credentials supplied at the end of the script
  9. Open the following pages from the AWS Console and log into your AWS account:

Run Demo

If you wish, you can run these steps as part of the demo, or complete them beforehand to keep the demo shorter.

  1. Run kubectl get pods -A to check the status of the alb-ingress-controller-* and external-dns pods until they are both in the Running state
  2. Continue with the Sock Shop demo README.md

Cleanup

  1. If you have deployed any services that have created ELBs, ALBs or NLBs, ensure you delete these from the cluster using kubectl
  2. 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
  3. Change into the /fargate-cluster directory
  4. Run eksctl delete cluster -f fargate-cluster.yaml to delete the cluster