Intermediate Pro Subscription Required

DevOps in Practice: Containers, CI/CD and Kubernetes

Take a small company's software from a laptop to production the way working teams do. Write a safe Dockerfile and Compose file, a CI pipeline that tests every change, a Kubernetes Deployment, Service and Ingress, and a release pipeline that verifies and undoes itself, then diagnose a crash-looping pod, a red pipeline and a bad release. Six of the nine cases are real configuration files that are parsed and graded by what they mean, and every case is different for every learner.

5-6 hours of study Builds toward: DevOps Engineer 9 modules

Practise on your own computer

The labs in the lessons run in your browser. To repeat them, go further and try the capstone on your own machine, set up the environment with these free guides:

  • A container and Kubernetes lab: Install Docker (or Podman) and a small local Kubernetes cluster so you can build images, run containers, write manifests and practise deployments and pipelines on your own computer.
  • A developer workstation: editor, Git, Python and Node: Install the free tools used by the web, backend, software-engineering, automation and DevOps courses, and create a GitHub account so you can write code, keep it under version control and run it on your own machine.

Software is only useful when it is running somewhere that people can reach, and the difference between a team that ships calmly and one that dreads Fridays is not talent. It is the delivery system around the code: images that build the same way every time, pipelines that test every change, a cluster that keeps the right number of healthy copies running, and a release process that can undo itself.

This is the second season of Sabi Logistics’ story. Ngozi, Amara, Emeka and Chidi are moving the company’s tracking API from a laptop to production. Each case gives you a real configuration file, or the real output of a failing system, with facts that are different for every learner. The files are parsed as YAML or as a Dockerfile, so indentation and structure matter exactly as they do in the real tools, and every requirement is checked by what the setting means, not by how it is spelled.

What you will build

  1. A safe, small container image: pinned base images, a multi-stage build, a cache-friendly layer order, a non-root user, a health check and no secrets.
  2. A Compose file for the app, its database and its cache, with private services, a named volume, a health check and a proper start-up order.
  3. A CI pipeline that tests every change, publishes only from main, uses least privilege and keeps credentials out of the file.
  4. A Kubernetes Deployment: matching labels, rolling updates that never drop capacity, resource limits, readiness and liveness probes, secret references and a locked-down container.
  5. A Service and an Ingress that make the app reachable over HTTPS through one door.
  6. A release pipeline that is deliberate, approved, verified and automatically undone when it fails.

What you will diagnose

  1. A red pipeline: which step failed, what kind of failure, where, and whether re-running will help.
  2. A crash-looping pod: out of memory, a bad image tag, a missing config key, a failing probe or no room to schedule.
  3. A bad release: which release and commit caused an outage, and the revision to return to.

A graded capstone and an exam finish the course. Every case ends with the commands you would run on a real system to prove it works, and the course points you to free guides for setting up the same environment on your own computer.