Leanpub Header

Skip to main content

Once upon a time Kubernetes

Container Orchestration

Master Kubernetes v1.35+ on your laptop without cloud bills. Build production-grade multi-node clusters using Kind (Kubernetes in Docker). From architecture basics to Ingress, Gateway API, and RBAC.

This book is a translation into English of Érase una vez Kubernetes which was originally written in Spanish

Minimum price

Free!

$19.99

You pay

$19.99

Author earns

$15.99
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.

Buying multiple copies for your team? See below for a discount!

PDF
EPUB
WEB
438
Readers
About

About

About the Book

Stop paying for idle clusters. Master Kubernetes v1.35+ locally.

Are you tired of "Hello World" tutorials that don't survive in Production? Do you want to learn Kubernetes without expecting a surprise bill from AWS or Google Cloud at the end of the month?

Kubernetes has become the operating system of the cloud, but its learning curve is steep. Most courses make two mistakes: they are either pure abstract theory, or they force you to spend money on managed clusters (EKS, GKE) just to learn the basics.

"Once Upon a Time Kubernetes" breaks that barrier.

This is not just a reading book; it is a battle manual designed for Engineers, Developers, and SysAdmins who want to move from "playing" with Kubernetes to truly understanding it.

🛠️ The "Local-First" Approach

Forget about obsolete Minikube or heavy virtual machines. In this book, you will master Kind (Kubernetes in Docker) to deploy full multi-node clusters directly on your laptop.

Your learning environment will include:

  • Multi-node Cluster: Simulate a real production environment with control-plane and workers.
  • Real Networking: You will implement MetalLB to simulate real Load Balancers on your PC.
  • Ingress & Gateway API: Master modern traffic entry points.
  • Persistence: Manage volumes (PV/PVC) that survive restarts.

📚 Learning Path (From Zero to Hero)

The content is structured to take you from fundamentals to advanced concepts using the latest Kubernetes v1.35+:

  1. Cloud Native Architecture: Finally understand Pods, ReplicaSets, and Deployments.
  2. Configuration Management: ConfigMaps, Secrets, and security best practices.
  3. Security: RBAC (Role-Based Access Control) and ServiceAccounts.
  4. Resources: CPU/RAM limits and Autoscaling (HPA).
  5. Real World: How to translate what you learned locally to the cloud (AWS, Google Cloud, DigitalOcean).

🌟 Why this book?

  • Updated for 2026: Covers Kubernetes v1.35.
  • Cost-Efficient: You don't need a cloud account. Your laptop is your data center.
  • Hands-on: Includes access to a GitHub repository with all the YAML manifests and scripts.
  • Kubexercises: Includes a self-assessment tool to test your knowledge after each chapter.

Start deploying your first cluster in 40 seconds. Grab your copy now and level up your DevOps career.

Share this book

This book is a translation into English of Érase una vez Kubernetes which was originally written in Spanish

Team Discounts

Team Discounts

Get a team discount on this book!

  • Up to 3 members

    Minimum price
    $19.00
    Suggested price
    $24.00
  • Up to 5 members

    Minimum price
    $31.00
    Suggested price
    $39.00
  • Up to 10 members

    Minimum price
    $55.00
    Suggested price
    $69.00
  • Up to 15 members

    Minimum price
    $79.00
    Suggested price
    $99.00
  • Up to 25 members

    Minimum price
    $119.00
    Suggested price
    $149.00

Author

About the Author

Manuel Morejón

Senior DevOps Engineer at Intruder. Interested in Kubernetes-based environments, cloud-native architectures, CI/CD processes, and infrastructure as code.

Translations

Translations

Languages

Contents

Table of Contents

About This Book

  1. How to use this book
  2. Source code and activities
  3. Exercises and activities
  4. Comments, suggestions, and recommendations

The Container Age

  1. What is Kubernetes?
  2. Kubernetes environments
  3. Create a cluster in 40 seconds
  4. Troubleshooting
  5. Deleting the cluster
  6. Summary

Kubernetes Architecture

  1. Control-plane components
  2. Data-plane components
  3. Kubernetes Add-ons
  4. Objects in the cluster
  5. kubectl command structure
  6. Summary

Pods

  1. First microservice up and running
  2. Checking the microservice logs
  3. Getting pod information
  4. Removing the pod
  5. Using environment variables
  6. Accessing the microservice
  7. Multiple microservices in a pod
  8. Activities to practice
  9. Summary

Labels

  1. Creating pods with labels
  2. Filtering pods using labels
  3. Performing actions on groups of pods
  4. Generating the pod structure
  5. Label recommendations
  6. Activities to practice
  7. Summary

ReplicaSets

  1. Specifications and startup
  2. Ensuring high availability
  3. Automatic restarts for applications
  4. Activities to practice
  5. Summary

Deployments

  1. Specifications and startup
  2. Updating applications with zero downtime
  3. Managing errors during application updates
  4. Distributing applications across nodes and regions
  5. Preventing service interruptions during node updates
  6. Deployment recommendations
  7. Activities to practice
  8. Summary

Services

  1. Specifications and startup
  2. Communication between applications
  3. Communication from external clients
  4. Load balancers
  5. Networks in Kubernetes
  6. Service recommendations
  7. Activities to practice
  8. Summary

Ingress

  1. Nginx as an Ingress controller
  2. Specifications and startup
  3. Using domain names
  4. Ingress class
  5. Ingress recommendations
  6. Summary

Gateway API

  1. Nginx as a Gateway controller
  2. Specifications and startup
  3. Blue/Green and Canary traffic segmentation
  4. Gateway API recommendations
  5. Summary

Namespaces

  1. Specifications and startup
  2. Grouping objects in namespaces
  3. Communication between applications
  4. Namespace recommendations
  5. Summary

Volumes

  1. Volume Specifications
  2. Temporary Volumes (emptyDir)
  3. Volumes Linked to the Node (hostPath)
  4. Static OCI Volumes (image)
  5. Long-Term Persistent Volumes
  6. Volume Lifecycle (StorageClass)
  7. Volume Recommendations
  8. Summary

ConfigMaps

  1. ConfigMap specifications
  2. Create a Kubernetes cluster
  3. Create/List/Read from terminal
  4. ConfigMap used as environment variable
  5. ConfigMap used as volume
  6. Generate ConfigMap structure
  7. Summary

Secrets

  1. Secret specifications
  2. Create a Kubernetes cluster
  3. Generate Secret structure
  4. Create/List/Read from terminal
  5. Secret used as environment variable
  6. Secret used as volume
  7. Summary

Role-Based Access Control (RBAC)

  1. Create a Kubernetes cluster
  2. Managing external users
  3. KUBECONFIG
  4. Roles and RoleBindings
  5. ClusterRoles and ClusterRoleBindings
  6. Service accounts
  7. Summary

Optimizing CPU and RAM

  1. Create a Kubernetes cluster
  2. Enable CPU and RAM metrics
  3. Setting resource boundaries
  4. Horizontal Pod Autoscaler (HPA)
  5. Summary

Using Kubernetes in the Cloud

  1. DOKS: DigitalOcean Kubernetes
  2. EKS: Amazon Elastic Kubernetes Service
  3. GKE: Google Kubernetes Engine
  4. Summary

Recommendations and Next Steps

Get the free Community Edition

You can get the free Community Edition in PDF or EPUB just by sharing your name and email address with the author, or you can just click this link to read a shorter sample online...

 

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub