Helmsman Academy
Programming for platform engineers: Python, Go and Rust

Go for cloud-native engineering

5 lessons · about 88 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

Go is the language of Kubernetes, Docker, Terraform, Prometheus, Helm and Argo CD. Learn enough to read their source, write fast static CLIs and services, use client-go, and move on to operators with Kubebuilder.

Before you start: Python for platform automation, or any programming experience, plus Kubernetes core.

What you'll learn

Lessons

1. Go essentials for infrastructure engineers

Why the cloud-native world is written in Go, and the language core: modules, types, structs, interfaces and explicit errors.

Sign in to open the lesson

2. Concurrency, context and HTTP services in Go

Goroutines, channels, sync, context for cancellation and deadlines, and production-ready net/http services with graceful shutdown.

Sign in to open the lesson

3. Building CLIs and shipping static Go binaries

Cobra CLIs like kubectl and Helm, cross-compilation, tiny distroless images, and releases with GoReleaser.

Sign in to open the lesson

4. Talking to Kubernetes with client-go

Clientsets, the dynamic client, informers and listers, RBAC for your tool, and testing against a real API server with envtest.

Sign in to open the lesson

5. Testing, profiling and securing Go code

Table-driven tests, benchmarks and fuzzing, pprof, linting, govulncheck, and a supply-chain-ready pipeline.

Sign in to open the lesson

Common questions

File that records checksums of dependencies?

go.sum

Signal Kubernetes sends before killing a pod?

SIGTERM

Which famous CLIs use Cobra?

kubectl, Helm, GitHub CLI

Function that loads in-cluster config?

rest.InClusterConfig()

Flag that detects data races in tests?

-race