web in go language from wiki example
-
CI deployment to GKE via github actions
-
end to end testing with cypress (screenshot of dashboard run below)
Without a google cloud subscription, do for example
sudo systemctl start docker
Either you simply
docker run -p 80:8080 giuliohome/web.golang:latest
and visit http://localhost/view/a1
or you can
minikube start
then deploy the demo to the local node
minikube kubectl -- apply -f deployment.yml
to get an external ip
minikube tunnel -c --log_dir tunnel_log/
minikube kubectl -- get all
Open the browser and check it out
Finally reclaim all the space
minikube stop
minikube delete --purge --all
and eventually
docker system prune -a
useful commands, especially for local dev
npx cypress run --spec cypress\integration\1-getting-started\web-golang.js
and
npx cypress open
log from golang console seen inside Lens web frame for cluster observability