I have configured the cluster for guestbook-go application by using EKS https://github.com/kubernetes/examples/tree/master/guestbook-go
and followed the official tutorial https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
Let's say I want to amend public/index.html
file. In a Docker file I can see that the file is copied to the container:
COPY ./public/index.html public/index.html
In the guestbook-controller.json
I can see the image that it was used:
"image":"k8s.gcr.io/guestbook:v3",
What is the correct way to modify index.html
and deploy this new version?
Do I need to rebuild this image? Then where is the right place to upload it and how to deploy it with kubernetes tools on AWS?
Many thanks, as a newcomer to Kubernetes, looking for good steps to learn it