📚Book Signing at KubeCon EU 2026Meet us at Booking.com HQ (Mon 18:30-21:00) & vCluster booth #521 (Tue 24 Mar, 12:30-1:30pm) — free book giveaway!RSVP Booking.com Event

🚀 Deployments Recipes

Deploy applications with confidence using rolling updates, blue-green deployments, canary releases, health probes, and PodDisruptionBudgets.

69 recipes available

Beginner

ArgoCD Declarative Application Setup

Define ArgoCD Applications, Projects, and repository credentials declaratively using Kubernetes manifests for reproducible GitOps configuration.

⏱ 15 minutes K8s 1.25+

Build a Custom OpenClaw Docker Image for Kubernetes

Create an optimized Docker image for OpenClaw with pre-installed dependencies, custom skills, and workspace files for faster Kubernetes deployments.

⏱ 15 minutes K8s 1.28+

Run an OpenClaw Discord Bot on Kubernetes

Deploy OpenClaw as a Discord bot on Kubernetes with channel routing, mention handling, group chat rules, and persistent conversation memory.

⏱ 15 minutes K8s 1.28+

Deploy an OpenClaw Telegram Bot on Kubernetes

Run OpenClaw as a Telegram bot on Kubernetes with BotFather setup, webhook configuration, inline commands, and persistent conversation history.

⏱ 15 minutes K8s 1.28+

Quay Robot Accounts for Kubernetes Image Pulls

Create Quay robot accounts and configure Kubernetes imagePullSecrets for automated container image pulls from private registries.

⏱ 20 minutes K8s 1.24+

Push a Podman-Saved Image to Local Quay

Load a Podman image tar archive, tag it for your Local Quay registry, authenticate with robot accounts, and push it safely to your private repo.

⏱ 15 minutes K8s Any

Retag and Push an Image in Local Quay

Pull an existing container image from Local Quay, retag it for a new repository path or version, and push the updated tag back to the registry.

⏱ 10 minutes K8s Any

How to Configure Kubernetes Probes

Implement liveness, readiness, and startup probes for reliable applications. Configure HTTP, TCP, and exec probes with proper thresholds.

⏱ 15 minutes K8s 1.28+

How to Use Init Containers for Dependencies

Master Kubernetes init containers to handle dependencies, setup tasks, and pre-flight checks before your main application starts.

⏱ 15 minutes K8s 1.28+

How to Deploy Jobs and CronJobs

Master Kubernetes Jobs and CronJobs for batch processing and scheduled tasks. Learn completion modes, parallelism, and failure handling.

⏱ 20 minutes K8s 1.28+

How to Perform Rolling Updates with Zero Downtime

Master Kubernetes rolling updates to deploy new application versions without service interruption. Learn update strategies, rollback procedures, and.

⏱ 15 minutes K8s 1.28+

Kubernetes Readiness Probe & Liveness Probe Guide

Configure Kubernetes readiness probes and liveness probes for pod health checks. Learn probe types (HTTP, TCP, exec), best practices, and common pitfalls.

⏱ 15 minutes K8s 1.25+

Intermediate

ArgoCD App of Apps Pattern

Implement the ArgoCD App of Apps pattern to manage multiple applications from a parent Application for cluster bootstrapping.

⏱ 20 minutes K8s 1.25+

ArgoCD ApplicationSets for Multi-Tenant GPUs

Use ArgoCD ApplicationSets to auto-discover and provision GPU tenant overlays from Git directories with per-tenant sync policies.

⏱ 15 minutes K8s 1.28+

Manage OperatorGroups with ArgoCD

Deploy and manage OLM OperatorGroup resources via ArgoCD for GitOps-driven operator lifecycle management in OpenShift namespaces.

⏱ 20 minutes K8s 1.26+

ArgoCD PreSync and PostSync Hooks

Use ArgoCD PreSync hooks for database migrations and PostSync hooks for smoke tests, with SyncFail hooks for automated rollback and cleanup.

⏱ 15 minutes K8s 1.25+

ArgoCD Sync Waves for CRD and Operator Ordering

Use ArgoCD sync waves to deploy Custom Resource Definitions before operators and custom resources, preventing CRD race conditions in GitOps pipelines.

⏱ 15 minutes K8s 1.25+

ArgoCD Sync Waves for Ordered Deployments

Use ArgoCD sync waves to control the order of Kubernetes resource deployment, ensuring dependencies like namespaces and CRDs are created before workloads.

⏱ 15 minutes K8s 1.25+

ArgoCD Sync Waves for Database Migrations

Use ArgoCD sync waves and PreSync hooks to run database migrations before deploying app code, with rollback strategies.

⏱ 20 minutes K8s 1.25+

CloudNativePG PostgreSQL Operator

Deploy highly available PostgreSQL clusters on Kubernetes using CloudNativePG operator with automated failover and backups.

⏱ 15 minutes K8s 1.28+

MariaDB Operator on Kubernetes

Deploy highly available MariaDB clusters on Kubernetes using MariaDB Operator with Galera replication, automated backups, and connection pooling.

⏱ 15 minutes K8s 1.28+

High Availability OpenClaw with Kubernetes

Run OpenClaw in a high-availability configuration on Kubernetes with health checks, automatic restarts, backup strategies, and monitoring for.

⏱ 25 minutes K8s 1.28+

Deploy OpenClaw AI Gateway on Kubernetes

Deploy the OpenClaw multi-channel AI gateway on Kubernetes with persistent storage, TLS ingress, and high availability for WhatsApp, Telegram, Discord.

⏱ 25 minutes K8s 1.28+

Deploy an OpenClaw Signal Messenger Bot on Kubernetes

Run OpenClaw as a Signal messenger AI assistant on Kubernetes with linked device pairing, end-to-end encryption, and persistent sessions.

⏱ 20 minutes K8s 1.28+

Self-Host an OpenClaw WhatsApp AI Assistant on Kubernetes

Deploy OpenClaw on Kubernetes to run a personal WhatsApp AI assistant with QR code pairing, persistent sessions, media support, and allow-list security.

⏱ 20 minutes K8s 1.28+

OpenShift BuildConfig with ImageStream

Build container images on OpenShift using BuildConfig with ImageStream triggers, pushing to internal registry or local Quay.

⏱ 15 minutes K8s 1.28+

OpenShift BuildConfig with Local Quay Registry

Build container images on OpenShift and push to a local Quay registry using BuildConfig, ImageStream, and robot account credentials.

⏱ 15 minutes K8s 1.28+

Kustomize Deployments with OpenShift GitOps

Use Kustomize overlays with the OpenShift GitOps Operator (ArgoCD) to manage environment-specific configurations across dev, staging, and production clusters.

⏱ 25 minutes K8s 1.26+

OpenShift Serverless KnativeServing

Deploy and configure OpenShift Serverless Operator with KnativeServing for autoscaling, scale-to-zero, and traffic splitting on Kubernetes.

⏱ 15 minutes K8s 1.28+

How to Configure CronJob Concurrency Policy

Master Kubernetes CronJob concurrency policies to control parallel execution. Learn when to use Allow, Forbid, and Replace with real-world examples and.

⏱ 15 minutes K8s 1.28+

How to Implement GitOps with Argo CD

Deploy and manage Kubernetes applications declaratively with Argo CD GitOps. Learn application deployment, sync strategies, multi-cluster management.

⏱ 35 minutes K8s 1.28+

GitOps with Flux CD for Continuous Delivery

Implement GitOps workflows using Flux CD to automate Kubernetes deployments, manage infrastructure as code, and maintain desired cluster state from Git.

⏱ 45 minutes K8s 1.28+

How to Use Multi-Container Pod Patterns

Master Kubernetes multi-container pod patterns including sidecar, ambassador, and adapter. Learn when and how to use each pattern for microservices.

⏱ 25 minutes K8s 1.28+

Pod Priority and Preemption Scheduling Guide

Control Kubernetes scheduling with Pod Priority and Preemption. Learn to prioritize critical workloads and ensure important pods get scheduled first.

⏱ 20 minutes K8s 1.28+

Pod Readiness Gates for Custom Conditions

Implement Pod Readiness Gates to add custom conditions that must be satisfied before a pod is considered ready for traffic, enabling integration with.

⏱ 35 minutes K8s 1.28+

How to Deploy with Argo CD GitOps

Implement GitOps continuous deployment with Argo CD. Sync Kubernetes manifests from Git repositories automatically with declarative application management.

⏱ 15 minutes K8s 1.28+

How to Implement Blue-Green Deployments

Deploy applications with zero downtime using blue-green deployment strategy. Switch traffic instantly between two identical environments for safe releases.

⏱ 15 minutes K8s 1.28+

How to Implement Blue-Green and Canary Deployments

Deploy applications with zero downtime using blue-green and canary strategies. Configure traffic splitting, rollbacks, and progressive delivery.

⏱ 15 minutes K8s 1.28+

How to Deploy with Flux GitOps

Implement GitOps continuous deployment with Flux CD. Automatically sync Kubernetes manifests and Helm releases from Git repositories.

⏱ 15 minutes K8s 1.28+

How to Implement Graceful Shutdown

Ensure zero-downtime deployments with proper graceful shutdown. Handle SIGTERM signals, drain connections, and configure termination settings.

⏱ 15 minutes K8s 1.28+

How to Configure Pod Affinity and Anti-Affinity

Control pod placement using affinity and anti-affinity rules. Co-locate related pods or spread them across nodes and zones for high availability.

⏱ 15 minutes K8s 1.28+

How to Configure Pod Disruption Budgets

Protect application availability during voluntary disruptions. Configure PDBs to ensure minimum replicas during node drains, upgrades, and maintenance.

⏱ 15 minutes K8s 1.28+

How to Implement Pod Disruption Budgets

Configure Pod Disruption Budgets (PDB) for high availability during voluntary disruptions. Ensure minimum availability during node maintenance and.

⏱ 15 minutes K8s 1.28+

How to Configure Pod Lifecycle Hooks

Execute custom actions during pod startup and shutdown with lifecycle hooks. Implement graceful shutdown, initialization tasks, and cleanup operations.

⏱ 15 minutes K8s 1.28+

How to Configure Pod Priority and Preemption

Set pod priorities to ensure critical workloads get scheduled first. Configure preemption to evict lower-priority pods when resources are scarce.

⏱ 15 minutes K8s 1.28+

How to Use Pod Topology Spread Constraints

Distribute pods evenly across failure domains using topology spread constraints. Ensure high availability across zones, nodes, and custom topologies.

⏱ 15 minutes K8s 1.28+

How to Use Sidecar Containers Effectively

Implement sidecar containers for logging, monitoring, proxying, and configuration management. Learn common sidecar patterns for microservices.

⏱ 15 minutes K8s 1.28+

How to Manage StatefulSets

Deploy stateful applications with StatefulSets. Configure stable network identities, persistent storage, ordered deployment, and graceful scaling.

⏱ 15 minutes K8s 1.28+

How to Use Taints and Tolerations

Control pod scheduling with taints and tolerations. Dedicate nodes for specific workloads, handle node conditions, and implement advanced scheduling.

⏱ 15 minutes K8s 1.28+

Topology Spread Constraints for HA Workloads

Distribute pods across nodes, zones, and regions using topology spread constraints. Ensure high availability and fault tolerance for your workloads.

⏱ 15 minutes K8s 1.28+

How to Implement Blue-Green Deployments

Learn how to implement blue-green deployments in Kubernetes for instant rollbacks and zero-downtime releases. Complete guide with Service switching.

⏱ 25 minutes K8s 1.28+

Advanced

Air-Gapped OpenShift with Quay Mirror

Deploy OpenShift in air-gapped environments with local Quay registry mirror, ImageDigestMirrorSet, and custom CatalogSources.

⏱ 15 minutes K8s 1.28+

ArgoCD App of Apps with Sync Waves

Combine the ArgoCD App of Apps pattern with sync waves to bootstrap entire clusters in dependency order, from CRDs and operators to application workloads.

⏱ 25 minutes K8s 1.25+

ArgoCD Multi-Cluster App of Apps

Manage multiple Kubernetes clusters with ArgoCD App of Apps, deploying shared infrastructure and cluster-specific workloads from a single GitOps repository.

⏱ 25 minutes K8s 1.25+

ArgoCD Sync Waves for Canary Deployments

Use ArgoCD sync waves for canary deployments with traffic splitting, automated validation, and progressive rollout.

⏱ 20 minutes K8s 1.25+

CNPG Cluster Scaling and Upgrades

Scale CloudNativePG clusters, perform rolling PostgreSQL major upgrades, and manage storage expansion without downtime.

⏱ 15 minutes K8s 1.28+

GitOps Bootstrap for Bare-Metal GPU Clusters

Bootstrap bare-metal GPU clusters with ArgoCD and Kustomize in air-gapped environments with NVIDIA GPU and Network Operators.

⏱ 15 minutes K8s 1.28+

GPU Operator Canary Upgrade Strategy

Safely upgrade NVIDIA GPU Operator using canary node pools, 48-hour bake periods, validation gates, and Git-based rollback.

⏱ 15 minutes K8s 1.28+

OpenClaw Blue-Green Deployment

Implement zero-downtime OpenClaw upgrades using blue-green deployments with traffic switching and rollback in Kubernetes.

⏱ 15 minutes K8s 1.28+

Multi-Agent Routing with OpenClaw on Kubernetes

Configure multiple isolated AI agents in a single OpenClaw gateway on Kubernetes with per-agent workspaces, channel bindings, and session isolation.

⏱ 30 minutes K8s 1.28+

OpenShift IDMS and install-config.yaml Mirror Registry

Configure ImageDigestMirrorSet and install-config.yaml imageContentSources for OpenShift disconnected installations with mirror registries.

⏱ 30 minutes K8s 1.25+

OpenShift ITMS ImageTagMirrorSet

Configure ImageTagMirrorSet in OpenShift 4.13+ for tag-based image mirroring. Mirror container images by tag instead of digest for disconnected clusters.

⏱ 25 minutes K8s 1.25+

OpenShift MachineConfigPool After ITMS

Monitor and manage MachineConfigPool rollouts after applying ImageTagMirrorSet in OpenShift. Handle node restarts, paused pools, and degraded states.

⏱ 20 minutes K8s 1.25+

Automate NCCL Preflight Checks in CI/CD Pipelines

Run NCCL smoke benchmarks automatically in CI/CD pipelines before promoting GPU cluster changes to production, catching regressions early.

⏱ 30 minutes K8s 1.28+

Run NCCL Tests with MPIJob on Kubernetes

Launch multi-pod NCCL benchmarks using MPIJob on Kubernetes for repeatable, automated distributed GPU communication testing across nodes.

⏱ 35 minutes K8s 1.28+

How to Create and Use Kubernetes Operators

Learn to build Kubernetes Operators for automating application management. Understand custom controllers, the Operator pattern, and frameworks like.

⏱ 45 minutes K8s 1.28+

How to Implement A/B Testing with Kubernetes

Route traffic between application versions for A/B testing. Use service mesh, ingress, and custom routing rules to validate features with real users.

⏱ 15 minutes K8s 1.28+

How to Implement Canary Deployments

Learn to implement canary deployments in Kubernetes for gradual rollouts. Use native features and Ingress-based traffic splitting for safe releases.

⏱ 15 minutes K8s 1.28+

How to Use Kubernetes Leases for Leader Election

Implement distributed coordination with Kubernetes Leases. Configure leader election, distributed locks, and high availability patterns.

⏱ 15 minutes K8s 1.28+

Want more deployments patterns?

Our book includes an entire chapter dedicated to deployments with dozens more examples.

📖 Explore All Chapters
Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens