Based in Go language show an index page in endpoint http
Docker, Kind(or K3d), GO
GO Version: 1.20
Kubernetes Version: > 1.22
./localbuild.sh
if necessary, adjust url repository and run ./buildpush.sh
Note: you have need permissions to upload the image Docker to repository.
Run script ./start.sh
NOTE: in this case, we create a namespace called lcd-25023
to app, check the script start.sh
Check service NodePort kubectl get services
Run script ./stop.sh
NOTE: Check the context that you are connected, kubectx
and kubens
are useful commands
NOTE 2: in this case, we create a namespace called lcd-25023
and create a Ingress to app, check the script start.sh
Run script ./startcloud.sh
and to stop and clear objects created, run ./stop.sh