Skip to main content
🎤 Luca Berton is speaking at Red Hat Summit & KubeCon EU 2026!Learn more →
  • Instant download
  • Lifetime updates
  • Secure Stripe checkout
  • EU VAT invoice
Ebook
AnsiblePilot

Ansible for Kubernetes Recipes

Operations cookbook for installing, upgrading, and managing Kubernetes clusters with Ansible. Distinct from the author's Apress 2023 book; recipes are written from public Ansible / kubernetes.core pat

Loved by DevOps practitioners
One-time purchase
€29.00EUR
Tax shown at checkout · No subscription
  • Production-tested examples you can copy-paste today
  • PDF format, optimized for screen and print
  • Free updates whenever the source CLI changes
  • Search-friendly, code-block heavy, no fluff

About this ebook

Operations cookbook for installing, upgrading, and managing Kubernetes clusters with Ansible. Distinct from the author's Apress 2023 book; recipes are written from public Ansible / kubernetes.core patterns.

What's inside:

• Inventory patterns for control-plane / workers / GPU nodes / edge.

• Pre-flight role: kernel modules, sysctl, swap, time sync.

• containerd + CRI-O install with SystemdCgroup enabled.

• kubeadm cluster from scratch, k3s HA, OpenShift agent-based installer wrapper.

• Joining workers, rotating bootstrap tokens.

• Day-2 lifecycle: drain, cordon, uncordon, rolling kubelet upgrade with serial: 1.

• kubernetes.core deep dive: k8s, k8s_info, k8s_exec, k8s_drain.

• Jinja2 manifest templating + Helm releases via kubernetes.core.helm.

• Secrets: SealedSecrets, ExternalSecrets, Vault.

• GitOps bootstrap: Argo CD app-of-apps and Flux.

• Addons: ingress-nginx, cert-manager, metrics-server, MetalLB, Calico, Cilium.

• Persistent storage (OpenEBS, Longhorn, Rook-Ceph) and DR with Velero.

• kube-prometheus-stack + Loki observability.

• Execution Environments + AAP job templates + molecule/kind CI tests.

• 10 common errors with one-line fixes.

Tested against ansible-core 2.18, kubernetes.core 5.x, Kubernetes 1.29-1.31, k3s 1.31+, OpenShift 4.17. Lifetime updates while the recipes are maintained, delivered via /library.

Before you buy

  • Instant digital delivery — by completing checkout you consent to immediate access. See the digital delivery policy.
  • Refunds available within 14 days if you have not yet downloaded the file. Full terms in the refund policy.
  • Your purchase email becomes your library sign-in. Tax is calculated and shown on the next step.