Online courses

Free courses, labs and MOOCs, with your progress saved.

Infrastructure

Course Intermediate Free

Kubernetes — The course

Pods, deployments, services, configuration and storage: orchestrating containers, from theory to kubectl.

  • 3 guides
  • 159 concepts
Start reading

Guides

  1. 01 Guide Kubernetes glossary Architecture, objects, networking, storage and security 47 concepts
  2. 02 Guide Kubernetes commands · kubectl A cheat sheet of the essential commands 48 concepts
  3. 03 Guide Kubernetes configuration · YAML Reading and writing commented manifests 64 concepts

Suggested path

  1. 01. Understand the glossary concepts
  2. 02. Practise the commands on non-critical data
  3. 03. Read, annotate then modify Dockerfile and compose.yaml files
  4. 04. Understand the cluster and the core concepts
  5. 05. Observe a lab cluster with kubectl then deploy an application
  6. 06. Read, comment on and apply versioned manifests

Sources and references

Teaching reference: the examples assume a working Docker installation. Do not copy real secrets into the exercises. These examples assume a training cluster and authorised access via kubeconfig. Resources must be adapted to the cluster. Do not use real passwords.

Example files

dockerfile
# Exemple didactique : application Node.js
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]
compose
name: demo-docker
services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8080:3000"
    environment:
      NODE_ENV: production
    restart: unless-stopped
ignore
node_modules
.git
.env
.DS_Store

In the same series Step 1 of 2

  1. 1 Course Kubernetes — The course You are here
  2. 2 Lab Kubernetes labs

Share this article

In the same category

Course

Infrastructure · Intermediate

Docker & Docker Compose — The course

Images, containers, volumes, networks and Compose: vocabulary, essential commands and good practice.

3 guides · 132 concepts In the same series

Course

Infrastructure · Intermediate

Terraform & Ansible — The course

Describe infrastructure with Terraform and configure it with Ansible: providers, playbooks, roles and idempotence.

3 guides · 146 concepts In the same series

Lab

Infrastructure · Intermediate

Docker & Docker Compose labs

Three progressive labs: build, configure then expose a multi-service application with Compose.

3 labs · 53 steps In the same series