Create a K8s cluster with eksctl

How to create a Kubernetes cluster on Amazon EKS using eksctl

  1. Create Cluster
eksctl create cluster --name PurpleLionK8s --region us-east-2 --version 1.23 --nodegroup-name ng-purplelionk8s --ssh-public-key ./customkey.pem --instance-types t3.micro --profile superuser
  1. Update the kube config file if things are not working yet
aws eks update-kubeconfig --region us-east-2 --name PurpleLionK8s --profile superuser
  1. Test if things are good
kubectl get svc