πŸ“š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

Kubernetes Recipes

A Practical Guide for Container Orchestration and Deployment.

ISBN-13: 979-8-8688-1324-5

Publisher: Apress; First Edition (April 1, 2025)

Language: English

Paperback: 750 pages

Item Weight: 1.11 pounds

Dimensions: 6.1 x 1.65 x 9.25 inches

Kubernetes Recipes book cover

Latest Kubernetes Recipes

1373 production-ready recipes β€” fresh patterns for deployments, networking, security, AI/GPU, and more.

πŸ€– AI & GPU

Disable GDS and Enable IOMMU Passthrough on K8s GPUs

Disable GPUDirect Storage (GDS) when not needed and configure IOMMU passthrough mode for GPU and NIC device assignment. Kernel parameters, BIOS settings, VFIO

advanced
πŸ€– AI & GPU

GPU Operator ClusterPolicy RDMA and GDS Configuration

Configure NVIDIA GPU Operator ClusterPolicy to disable RDMA and enable GPUDirect Storage (GDS). Control nvidia-peermem, nvidia-fs modules, driver

advanced
πŸ€– AI & GPU

GPUDirect RDMA Setup and Verification on Kubernetes

Enable and verify GPUDirect RDMA for GPU-to-NIC direct data transfer on Kubernetes. Install nvidia-peermem, configure DMA-BUF, verify RDMA paths, troubleshoot

advanced
πŸ€– AI & GPU

IOMMU Kernel Parameters for Kubernetes GPU Nodes

Configure IOMMU kernel parameters for optimal GPU and RDMA performance on Kubernetes. Compare intel_iommu, amd_iommu, and iommu settings, passthrough vs off vs

advanced
πŸ€– AI & GPU

Kubeflow MPIJob Worker SSH Setup for GPU Training

Configure SSH daemon in Kubeflow MPIJob worker pods for multi-node GPU training. Covers SSHD setup in containers, host key generation, authorized keys from MPI

intermediate
πŸ€– AI & GPU

Kubernetes Topology Manager for GPU and NUMA Alignment

Configure Kubernetes Topology Manager to align CPU, GPU, and NIC allocations on the same NUMA node. Covers policies, kubelet config, and GPU performance tuning.

advanced
πŸ€– AI & GPU

MPI DNS Resolution and Hostfile for Kubernetes GPU Jobs

Troubleshoot MPI hostfile DNS resolution in Kubeflow MPIJob on Kubernetes. Covers headless Service creation, subdomain configuration, DNS wait loops, FQDN

intermediate
πŸ€– AI & GPU

NCCL All-Reduce Benchmarking on Multi-Node GPUs

Run and interpret NCCL all_reduce_perf benchmarks on multi-node Kubernetes GPU clusters. Understand bus bandwidth results, expected throughput for H200 NVL

advanced
πŸ€– AI & GPU

NCCL Channel Routing and Transport Path Analysis

Interpret NCCL channel logs to understand GPU communication paths on Kubernetes. Decode P2P/CUMEM, SHM/direct, NET/IB/GDRDMA transport

advanced
πŸ”§ Troubleshooting

NCCL Debug Subsystems for GPU Network Troubleshooting

Configure NCCL_DEBUG and NCCL_DEBUG_SUBSYS for targeted logging during multi-node GPU training. Covers INIT, NET, GRAPH subsystems, log

intermediate
πŸ€– AI & GPU

NCCL DMABUF Enable for GPUDirect RDMA on Kubernetes

Enable NCCL DMA-BUF support for GPUDirect RDMA in Kubernetes GPU clusters. Covers NCCL_DMABUF_ENABLE=1, kernel requirements, nvidia-peermem vs dmabuf, GPU

advanced
πŸ€– AI & GPU

NCCL GPUDirect RDMA Level Tuning PIX PXB PHB SYS

Tune NCCL_NET_GDR_LEVEL for optimal GPUDirect RDMA performance on Kubernetes. Compare PIX, PXB, PHB, and SYS distance thresholds with PCIe topology. Benchmark

advanced

Watch the Book Trailer

Discover how Kubernetes Recipes can help you master container orchestration with practical, production-ready solutions.

Everything you need to master Kubernetes

Kubernetes Recipes: A Practical Guide for Container Orchestration and Deployment, packed with actionable solutions.

Practical, Hands-On Recipes

A comprehensive collection of step-by-step guides designed to solve real-world Kubernetes deployment challenges.

From Basics to Beyond

Master Kubernetes from installation and API fundamentals to advanced scaling, monitoring, and troubleshooting.

Expert Insights & Guidance

Learn best practices and strategies from industry experts Grzegorz Stencel and Luca Berton.

Efficient Cluster Management

Discover detailed recipes for managing workloads, services, and configurations for optimal performance.

Enhanced Security Practices

Implement robust security measures and access controls to safeguard your Kubernetes clusters.

Integrated Ecosystem Tools

Explore complementary tools like Helm, logging, and monitoring to extend your Kubernetes capabilities.

Want a Sneak Peek?

Grab a FREE sample from the chapter on Kubernetes Storage best practices, packed with real-world YAMLs and walkthroughs.

πŸ“„ Download FREE Chapter 7 Sample (PDF)

Explore the Ecosystem of Container Orchestration

Podcast Live Announcement

πŸŽ™οΈ 26th June 2025: Podcast Episode #100!

We’re going live on De Nederlandse Kubernetes Podcast β€” tune in for a book giveaway, community insights, and real talk!

Watch the recording β†’

About the Book

Kubernetes Recipes is your essential guide to using Kubernetes for container orchestration, providing a hands-on, problem-solving approach to address the intricacies of deployment, scaling, and day-to-day operations.

Beginning with the fundamentals, the book covers installation, working with the Kubernetes API, and application primitives. It includes monitoring, troubleshooting, handling specialized workloads, managing volumes and configuration data, scaling strategies, and security best practices.

You'll gain practical skills in everyday tasks like using the CLI, managing workloads, and accessing logs. The book extends to advanced topics such as developing Kubernetes itself, leveraging Helm, and using observability tools like Prometheus and Grafana.

Kubernetes Recipes is for developers, system administrators, DevOps professionals, project managers, students, and researchersβ€”anyone ready to master this powerful platform with confidence.

About the Authors

Grzegorz Stencel

Grzegorz Stencel

Staff Engineer at JPMorgan Chase with over 17 years of Linux experience. From cybersecurity to robotics, Greg combines extensive technical skills with real-world applications. He is also a CKAD-certified cloud educator and maker.

Luca Berton

Luca Berton

Luca Berton is an experienced consultant specializing in AI, Kubernetes, and cloud automation, as well as an author and open-source advocate. With a background at Dell Technologies, JPMorgan Chase, and Red Hat, Luca empowers others through tools such as Ansible and Kubernetes. Explore his hands-on courses at CopyPasteLearn.

Endorsed by Kubernetes Leaders

Alessandro Vozza

"Kubernetes Recipes is the book I wish I had when I started working with clusters. Clear, practical, and straight to the point."

Alessandro Vozza

Cloud-Native AI Strategist, Tech Leader & Kubernetes Innovator at Microsoft and Kubespaces.io

Ricardo van Velzen

"This book bridges the gap between theory and practical implementation. A must-read for serious Kubernetes practitioners."

Ricardo van Velzen

Manager Systems Engineering team NL @ Nutanix

Jan Stomphorst

"An essential guide for engineers at all levels. Real-world examples that reflect the challenges we face every day."

Jan Stomphorst

ICT solutions Architect | Kubernetes & Cloud Native Expert | Co-host Kubernetes Podcast

πŸŽ“ Hands-on Learning

Level Up with Practical Courses

Go beyond recipes β€” master the full stack with step-by-step courses from CopyPasteLearn.com.

Ready to Master Kubernetes?

Grab your copy of Kubernetes Recipes and elevate your container orchestration skills.

Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens