Cloud Native Live: Deploy your Go web app to Kubernetes

CNCF Online Programs

Oct 25, 2023, 4:00 – 5:00 PM

Virtual event

About this event

During this hands-on session, we’ll go through the basics of building and deploying a Go web

application, natively and then with KubeFox. By the end of the session, you will have a basic

understanding of what it takes to deploy a Go web app to Kubernetes, including the constituent

YAML files and their functions, environments and the GitHub Container Registry, and you will

have built and run a containerized Go web app in kind (kind is Kubernetes IN Docker) on your

local system.


Agenda:

  • Welcome
  • Introductions
  • Deploy a Go web app to Kubernetes natively
  • Walkthrough of the application
  • Walkthrough of the Docker File
  • Build and containerize the application
  • Publish the container to GHCR
  • Walkthrough ConfigMap
  • Explain how ConfigMaps are bound to Pods
  • Modify ConfigMap - create a new Pod
  • Load the container in k8s
  • Walkthrough of the Deployment YAML
  • Apply the Deployment and Service YAML files
  • Show Kubernetes resources with Kubectl (Pods, deployment, service)
  • Play with the application
  • Deploy a Go web app to Kubernetes with KubeFox
  • fox init
  • fox publish (with deploy)
  • Walkthrough of environment YAML
  • Apply environment YAML
  • Show the effect of the environment YAML and explain
  • Show the Pod
  • Walkthrough of zero trust infrastructure
  • Walkthrough of telemetry
  • Play with the application
  • Perform a release
  • Show the effect of the release
  • Review KubeFox Virtual Environments and Dynamic Traffic Shaping
  • Q and A

Prerequisites:

Notes:

  • Please install and employ WSL if you are using Windows.
  • We will put detailed instructions in the repository readme.
  • It would be prudent to check each installation to ensure that it is properly installed. The installation instructions for each product are quite good.

_____

To prepare for the session, please:

Recommended VS Code extensions

  • Go
  • Docker
  • Kubernetes

Speakers

  • Steven Higgins

    XigXog

    Co-founder

  • John Long

    XigXog

    Co-founder

CONTACT US