EKS Verification

Wait for Terraform to finish and verify the deployment is working as expected and we are able to control the Kubernetes environment.

  1. We need to save the remote access config for the Kubernetes cluster locally:
mkdir ~/.kube/ 
terraform output > ~/.kube/config
  1. Check and see that our cluster is up an running.
    Below we should see our two K8s worker nodes:
kubectl get nodes
Output
NAME STATUS ROLES AGE VERSION ip-10-0-2-32.eu-central-1.compute.internal Ready none 84s v1.15.10-eks-bac369 ip-10-0-3-217.eu-central-1.compute.internal Ready none 88s v1.15.10-eks-bac369

And the kube-system pods (this is the namespace for objects created by the Kubernetes system):

At the moment we have our setup deployed as it can be seen in the bellow diagram.

  1. Change the directory back to the original repo folder:
cd ..