Hello Application example

Open in Cloud Shell

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 a Hello, 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:

  • us-docker.pkg.dev/google-samples/containers/gke/hello-app:1.0
  • us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0

This example is used in many official/unofficial tutorials, some of them include:


View Github