Challenges

Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.

Challenge

Add an HAProxy Sidecar to Serve an MQTT Broker over TLS

An MQTT broker only accepts plain connections on localhost, but every client must connect over TLS on port 8883. Practice adding a sidecar container to a Deployment: HAProxy terminates TLS for the broker and gets its configuration and its certificate from a ConfigMap and a Secret.

Challenge

Kubernetes - Multi-Container Pod Design Patterns

Build five ways to combine containers in one Pod: a sidecar that extends the app, an init container that finishes before the app starts, a native sidecar with a startup guarantee, an ambassador that mutates an outbound call, and an adapter that translates an inbound one.

Challenge

Exclude a Sidecar from VPA Using Per-Container Resource Policy

Configure a Vertical Pod Autoscaler (VPA) with a per-container resource policy that provides recommendations for the main container while excluding the sidecar container from any VPA-managed scaling.

Challenge

Add a Sidecar Log Tailer to an Existing Deployment

Add a sidecar container to an existing Deployment that tails a shared log file written by the main application container. Use a shared volume to make the log file available to both containers.

Challenge

Deploy a Pod with a Sidecar Log Shipper Using Init Container Pattern

Create a Pod with a main application container and a sidecar container that continuously streams shared logs. Kubernetes implements sidecar containers as a special case of init containers.