Creating a Kubernetes Cluster on AWS

Navigate to the appropriate folder, depending on whether you are using a single zone or multiple zones.

  • Single zone - /var/jenkins_home/docker-deploy/aws/k8s/manifest-single-zone
  • Multiple zones - /var/jenkins_home/docker-deploy/aws/k8s/manifest-multiple-zones

Run the following command:

  • Single zone -
    sudo ./create-k8s-cluster.sh
  • Multiple zones -
    sudo ./create-eks-cluster.sh

This command can take a few minutes to finish. When completed, it outputs messages about the created AWS EKS Kubernetes cluster.

To verify the deployment of the EKS Kubernetes cluster:

sudo ./kubectl get nodes