Helmsman Academy
Foundations

Linux for Kubernetes

7 lessons · about 102 minutes of reading · free

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

The Linux you need to run and debug Kubernetes nodes and pass hands-on exams: files, permissions, processes, systemd, logs, networking tools, vim and YAML.

Before you start: A computer and curiosity.

What you'll learn

Lessons

1. Shell, files and permissions

Move around the filesystem, read and edit files, and understand users, groups and permission bits.

Sign in to open the lesson

2. Processes, systemd and logs

How services start, stop and log on Linux, and how to read the kubelet and container runtime when a node misbehaves.

Sign in to open the lesson

3. Linux networking tools

Check addresses, routes, ports, DNS and HTTP from a node or a debug pod.

Sign in to open the lesson

4. Text processing, vim and YAML

Edit fast under exam pressure, read and write YAML without indentation errors, and slice output with jq, grep and awk.

Sign in to open the lesson

5. Bash scripting for automation: variables, loops, exit codes and safe scripts

Turn the commands you type every day into scripts you can trust: variables and quoting, conditions and loops, functions, exit codes, arguments and the settings that stop a script failing silently.

Sign in to open the lesson

6. Users, permissions, sudo and SSH keys

Manage access on a Linux server the way production teams do: users and groups, ownership and modes, sudo with least privilege, and SSH keys instead of passwords, with the settings that keep attackers out.

Sign in to open the lesson

7. Packages, disks and filesystems

Install and update software safely, read disk usage, add and mount a disk, grow a filesystem and find what's filling it, the everyday storage work behind every server and Kubernetes node.

Sign in to open the lesson

Common questions

What does 2>&1 do?

Sends standard error to the same destination as standard output.

What is the default terminationGracePeriodSeconds?

30 seconds.

What does 'connection refused' usually mean compared with a timeout?

Refused: reached the host, nothing listening on that port. Timeout: packets dropped, often by policy or routing.

Why quote version: "1.20" in YAML?

Unquoted, 1.20 is read as the number 1.2.

Bash or Python?

Bash for gluing commands together and short automation; Python once you need data structures, error handling across many steps or anything over about 100 lines.

ed25519 or RSA keys?

ed25519: shorter, faster and secure. Use RSA 4096 only for old systems that don't support ed25519.

ext4 or XFS?

Both are solid. XFS is the RHEL default and handles large files well but can't shrink; ext4 is the Debian and Ubuntu default and can shrink offline.