Deploy application
Deploy application to EKS cluster
- Deploy a static Website to the EKS Cluster we just created. To deploy, first we will run the following command:
kubectl create deployment fcj-workshop --image=awsfcj/000062

awsfcj/00062 is a pre-built image to use in this lab

- To be able to access the Website from outside the EKS cluster, we will have to deploy a LoadBalancer Service to the cluster using the following command:
kubectl expose deployments/fcj-workshop --type=LoadBalancer --port=80

- To view information about the above LoadBalancer, we will run the following command:
kubectl get svc

- Copy and paste the link in EXTERNAL-IP into the browser to access the website

- Access the website (remember to access using http instead of https)
