Software development

Advanced Docker: Kubernetes on Your Computer

Take your containers to Kubernetes with a real three-node cluster on your computer: deployments, services, autoscaling, storage, Gateway API, Helm, Kustomize, security and GitOps. 20 labs with real cases, based on the official documentation.

Advanced · 20 hours · 20 lessons · Course language: Spanish and English

The natural next step after Intermediate Docker. You create a three-node Kubernetes cluster with kind, without paying for a cloud, and learn to run it the way production does. You deploy with Deployments and Services, configure with ConfigMaps and Secrets, define probes and resources, update without downtime and roll back. You autoscale with metrics-server and HPA, store data with PersistentVolumes and StatefulSets, and schedule tasks with Jobs and CronJobs. You publish with Gateway API and Envoy Gateway with canary deployments, package with Kustomize and Helm, and secure the cluster with RBAC, NetworkPolicies and Pod Security Standards. You set up a local registry, debug real failures with kubectl debug, do node maintenance without downtime and deploy with GitOps using Argo CD. You finish by taking the complete store to Kubernetes. Every command is explained and every result is real. The first 3 classes are free and include a video. The lessons, quizzes and videos are in English; the lab files keep their original Spanish names, and every lesson explains them.

What you will learn

  • Create and run a multi-node Kubernetes cluster on your computer with kind
  • Deploy applications with Deployments, Services, ConfigMaps and Secrets
  • Define probes and resources, update without downtime and roll back versions
  • Autoscale with HPA and store data with PersistentVolumes and StatefulSets
  • Publish with Gateway API and run canary deployments with Envoy Gateway
  • Package and version with Kustomize and Helm
  • Secure the cluster with RBAC, NetworkPolicies and Pod Security Standards
  • Debug real failures, do maintenance without downtime and deploy with GitOps

Skills

Kubernetes, kind, kubectl, Helm, Kustomize, Gateway API, Envoy Gateway, HPA, StatefulSets, RBAC, NetworkPolicies, Argo CD

Program

Module 1: Kubernetes fundamentals (free classes)

Your cluster with kind, Pods, Deployments, Services and DNS.

Project: A three-node cluster with an API load-balanced across replicas.

  1. Kubernetes and your local cluster with kind: What Kubernetes solves, its architecture and a three-node cluster in Docker.
  2. Pods, ReplicaSets and Deployments: Desired state, self-healing and scaling replicas.
  3. Services, DNS and port-forward: ClusterIP, NodePort, EndpointSlices, internal DNS and access from your computer.

Module 2: Configuration and health

ConfigMaps and Secrets, probes and resources, updates and rollbacks.

Project: A deployment that updates without downtime and rolls back in seconds.

  1. ConfigMaps and Secrets: Configuration as variables and as files, updates and why base64 isn't encryption.
  2. Probes, requests and limits: liveness and readiness, OOMKilled, Pending pods and QoS classes.
  3. Rolling updates and rollbacks: Updating without downtime, a broken image in production and going back.

Module 3: Scaling and data

metrics-server and HPA, PersistentVolumes, StatefulSets, Jobs and CronJobs.

Project: An API that scales by itself and a database that outlives its pods.

  1. Autoscaling with metrics-server and HPA: CPU metrics, a real HPA under load and a controlled scale-down.
  2. Persistent storage and StatefulSets: PVC, StorageClass and PostgreSQL with a stable identity and data.
  3. Jobs and CronJobs: Parallel tasks, retries, failures and scheduled tasks with a time zone.

Module 4: Traffic and packaging

Gateway API with Envoy Gateway, Kustomize and Helm.

Project: A 90/10 canary and the site packaged for several environments.

  1. Gateway API with Envoy Gateway: GatewayClass, Gateway and HTTPRoute: header routes and a 90/10 canary.
  2. Kustomize: one base and several environments: Overlays, patches, images and ConfigMaps generated with a hash.
  3. Helm: create, install and version charts: Your own chart, per-environment values, upgrade, history and rollback.

Module 5: Security

Namespaces, RBAC, NetworkPolicies and Pod Security Standards.

Project: A namespace where each pod talks only to whom it should.

  1. Namespaces, RBAC and ServiceAccounts: Roles and minimal permissions, kubectl auth can-i and the API from a pod.
  2. NetworkPolicies: Deny everything by default and open only the paths you need.
  3. Pod Security Standards and securityContext: Restricted namespaces, rejected pods and compliant pods.

Module 6: Operations, GitOps and final project

Local registry, debugging, node maintenance, Argo CD and the complete store.

Project: The store on Kubernetes: Gateway, API with HPA, worker, Redis and PostgreSQL.

  1. Local registry and development cycle: kind load, a local registry connected to the cluster and from code to pod in seconds.
  2. Debugging real cases in Kubernetes: CrashLoopBackOff, Services without endpoints, pending PVCs and kubectl debug.
  3. Maintenance without downtime: drain and PodDisruptionBudgets: Empty a node while respecting availability, and spread pods across nodes.
  4. GitOps with Argo CD: The cluster synced with Git, self-healing and detection of manual changes.
  5. Final project: the store on Kubernetes: Gateway, API with HPA, worker, Redis and PostgreSQL with secrets, network policies and Kustomize.

Prerequisites

  • Having completed Intermediate Docker or mastering Docker and Compose: images, networks, volumes and registries
  • Docker Desktop with at least 6 GB of memory assigned, kind, kubectl and Helm (class 1 explains how to install them)
  • Basic use of the terminal and of YAML files

Next courses

  • Terraform from Zero to Advanced · Beginner · 20 hours
    Create and manage infrastructure as code: from your first terraform apply to modules, remote state, automated tests and deployments on AWS, Azure and Google Cloud. 20 labs based on the official documentation.
  • Monitoring with Prometheus and Grafana · Beginner · 20 hours
    Measure your servers and applications, build professional dashboards and get alerts before your users notice a problem. 20 labs with Prometheus 3 and Grafana 13, based on the official documentation.

See all courses