Deploy applications with confidence using rolling updates, blue-green deployments, canary releases, health probes, and PodDisruptionBudgets.
30 recipes available
Execute one-time and scheduled tasks in Kubernetes. Configure job parallelism, retries, deadlines, and cron schedules for batch processing.
Implement liveness, readiness, and startup probes for reliable applications. Configure HTTP, TCP, and exec probes with proper thresholds.
Master Kubernetes init containers to handle dependencies, setup tasks, and pre-flight checks before your main application starts.
Master Kubernetes Jobs and CronJobs for batch processing and scheduled tasks. Learn completion modes, parallelism, and failure handling.
Master Kubernetes rolling updates to deploy new application versions without service interruption. Learn update strategies, rollback procedures, and best practices.
Configure health checks for your Kubernetes pods using liveness and readiness probes. Learn the differences, when to use each, and avoid common pitfalls that cause cascading failures.
Deploy and manage Kubernetes applications declaratively with Argo CD GitOps. Learn application deployment, sync strategies, multi-cluster management, and best practices.
Implement GitOps workflows using Flux CD to automate Kubernetes deployments, manage infrastructure as code, and maintain desired cluster state from Git repositories
Master Kubernetes multi-container pod patterns including sidecar, ambassador, and adapter. Learn when and how to use each pattern for microservices.
Control Kubernetes scheduling with Pod Priority and Preemption. Learn to prioritize critical workloads and ensure important pods get scheduled first.
Implement Pod Readiness Gates to add custom conditions that must be satisfied before a pod is considered ready for traffic, enabling integration with external systems
Deploy applications using blue-green deployment strategy for zero-downtime releases. Switch traffic between versions instantly with easy rollback.
Deploy applications with zero downtime using blue-green and canary strategies. Configure traffic splitting, rollbacks, and progressive delivery.
Implement GitOps workflows with Flux CD. Automate deployments, manage Helm releases, and synchronize Kubernetes state with Git repositories.
Ensure zero-downtime deployments with proper graceful shutdown. Handle SIGTERM signals, drain connections, and configure termination settings.
Control pod placement using affinity and anti-affinity rules. Co-locate related pods or spread them across nodes and zones for high availability.
Protect application availability during voluntary disruptions. Configure PDBs to ensure minimum replicas during node drains, upgrades, and maintenance.
Configure Pod Disruption Budgets (PDB) for high availability during voluntary disruptions. Ensure minimum availability during node maintenance and cluster upgrades.
Execute custom actions during pod startup and shutdown with lifecycle hooks. Implement graceful shutdown, initialization tasks, and cleanup operations.
Set pod priorities to ensure critical workloads get scheduled first. Configure preemption to evict lower-priority pods when resources are scarce.
Distribute pods evenly across failure domains using topology spread constraints. Ensure high availability across zones, nodes, and custom topologies.
Implement sidecar containers for logging, monitoring, proxying, and configuration management. Learn common sidecar patterns for microservices.
Deploy stateful applications with StatefulSets. Configure stable network identities, persistent storage, ordered deployment, and graceful scaling.
Control pod scheduling with taints and tolerations. Dedicate nodes for specific workloads, handle node conditions, and implement advanced scheduling patterns.
Distribute pods across nodes, zones, and regions using topology spread constraints. Ensure high availability and fault tolerance for your workloads.
Learn how to implement blue-green deployments in Kubernetes for instant rollbacks and zero-downtime releases. Complete guide with Service switching techniques.
Learn to build Kubernetes Operators for automating application management. Understand custom controllers, the Operator pattern, and frameworks like Kubebuilder.
Learn to implement canary deployments in Kubernetes for gradual rollouts. Use native features and Ingress-based traffic splitting for safe releases.
Route traffic between application versions for A/B testing. Use service mesh, ingress, and custom routing rules to validate features with real users.
Implement distributed coordination with Kubernetes Leases. Configure leader election, distributed locks, and high availability patterns.
Our book includes an entire chapter dedicated to deployments with dozens more examples.
📖 Explore All Chapters