This example shows how to build and deploy a containerized Go web server application using Kubernetes.
Visit https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app to follow the tutorial and deploy this application on Google Kubernetes Engine.
This directory contains:
main.go
contains the HTTP server implementation. It responds to all HTTP requests with aHello, world!
response.Dockerfile
is used to build the Docker image for the application.
This application is available as two Docker images, which respond to requests with different version numbers:
gcr.io/google-samples/hello-app:1.0
gcr.io/google-samples/hello-app:2.0
This example is used in many official/unofficial tutorials, some of them include: