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:

sudo ./create-k8s-cluster.sh

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

The following can be used to verify the deployment of the AWS Kubernetes cluster:

sudo kubectl get nodes