1. Multi-container pod patterns
Sidecar, init, ambassador and adapter patterns, and when a second container belongs in the pod.
5 lessons · about 72 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.
Designing applications that thrive on Kubernetes: multi-container patterns, probes and graceful shutdown, and twelve-factor habits. CKAD domain: Application Design and Build.
Before you start: Level 2.
Sidecar, init, ambassador and adapter patterns, and when a second container belongs in the pod.
Liveness, readiness and startup probes, graceful shutdown and preStop hooks: the difference between a rollout that drops requests and one that doesn't.
Twelve-factor habits, statelessness, configuration, health endpoints, and building images in a pipeline.
Build and change images the way the CKAD expects: multi-stage Dockerfiles, non-root users, tags versus digests, saving images as archives, pull policies and private registries.
Run work to completion reliably: completions and parallelism, indexed Jobs, retries with backoffLimit and pod failure policies, clean-up with TTLs, and CronJob schedules, time zones and concurrency.
Ambassador.
Removes it from Service endpoints; no restart.
Redis (cache) or the database.
The environment provides a container build tool for image tasks; the task text names it. Podman and Docker share the commands you need here.
OnFailure restarts the container in place and is cheaper; Never gives a fresh Pod each time and keeps failed Pods for their logs. Use Never when you need to debug failures.