Hackathon - Kubernetes for Linux Sysadmins: From Server to Cluster
๐ FastHack Kubernetes
From Server to Cluster โ A Hands-on Hackathon for Linux Professionals
๐ฅ๏ธ One-Click Lab Environment
No setup needed! Click the button below to get a full Kubernetes lab running in your browser in ~3 minutes:
Your Codespace comes pre-configured with:
- kubectl โ Kubernetes CLI
- Docker โ Container runtime (Docker-in-Docker)
- Kind โ Local cluster with 1 control-plane + 2 worker nodes ready
- Helm โ Kubernetes package manager
- k9s โ Terminal UI for Kubernetes
๐ก GitHub Free accounts get 60 hours/month of Codespaces โ more than enough to complete all challenges. No cloud account or credit card required.
Introduction
This is a hands-on learning resource designed for Linux professionals who want to master Kubernetes. If you already understand processes, networking, storage, and security in Linux โ you're ready to orchestrate all of that at scale.
This hackathon bridges the gap between traditional Linux system administration and modern cloud-native infrastructure. Every concept is taught through the lens of what you already know.
"You don't need to start from zero. You need to evolve."
Note: This Hackathon follows the same format as the Linux FUNdamentals Hackathon โ the 1st Linux Hackathon by Microsoft, part of What The Hack.
Learning Path
This hackathon is the natural next step after the Linux FUNdamentals Hackathon:
flowchart TB
subgraph journey["๐ Progressive Learning Path"]
direction LR
A["๐ง <b>Linux FUNdamentals</b><br/>20 hands-on challenges<br/><i>linuxhackathon.com</i>"] ==> B["โธ๏ธ <b>Kubernetes Hackathon</b><br/>20 hands-on challenges<br/><i>k8shackathon.com</i>"] ==> C["๐ค <b>AI for Infrastructure</b><br/>AI + Cloud<br/><i>ai4infra.com</i>"]
end
A -.->|companion reading| D B -.->|companion reading| D C -.->|companion reading| D
B -.->|Azure deep dive| E
D["๐ <b>From Server to Cluster</b><br/>The WHY behind the WHAT<br/><i>fromservertocluster.com</i>"] E["โ๏ธ <b>AKS Learning</b><br/>Zero to production on AKS<br/><i>aks-learning.github.io</i>"]
classDef challenge fill:#2b5ea7,stroke:#1e4a8a,color:#fff,stroke-width:2px classDef hackathon fill:#1a7f37,stroke:#116329,color:#fff,stroke-width:3px
class A,C,D,E challenge class B hackathon
click A "https://linuxhackathon.com" _blank click B "https://k8shackathon.com" _blank click C "https://ai4infra.com" _blank click D "https://fromservertocluster.com" _blank click E "https://aks-learning.github.io" _blank
Learning Objectives
In this hackathon, you will be challenged with real-world tasks that Linux professionals face when transitioning to Kubernetes:
- Understand containers as Linux processes with isolation
- Create and manage Kubernetes clusters locally
- Deploy, scale, and update applications declaratively
- Configure networking, DNS, and traffic routing
- Implement persistent storage for stateful workloads
- Secure clusters with RBAC, Pod Security Admission, and Network Policies
- Set up monitoring with Prometheus and Grafana
- Automate deployments with Helm and Kustomize
- Diagnose and fix real-world Kubernetes failures
- Deploy to managed Kubernetes services (AKS, EKS, GKE)
Challenges
Each challenge builds on the previous one, but can also be done independently after Challenge 03. The complexity increases progressively.
- Challenge 01: Your First Container
- Challenge 02: From Container to Pod
- Challenge 03: Creating a Local Cluster
- Challenge 04: Deployments and Rolling Updates
- Challenge 05: Services and Networking
- Challenge 06: Ingress and Gateway API
- Challenge 07: Volumes and Persistence
- Challenge 08: ConfigMaps and Secrets
- Challenge 09: Security: RBAC and Pod Security
- Challenge 10: Autoscaling and Resource Management
- Challenge 11: Helm, Kustomize, and GitOps
- Challenge 12: Observability: Prometheus and Grafana
- Challenge 13: Troubleshooting: Break and Fix
- Challenge 14: Deploy to the Cloud
- Challenge 15: Pod Scheduling & Resource Management
- Challenge 16: Container Image Engineering
- Challenge 17: Advanced Deployment Strategies
- Challenge 18: kubeadm Cluster Administration โ ๏ธ Requires VMs
- Challenge 19: Cluster Security & Hardening โ ๏ธ Requires VMs
- Challenge 20: Supply Chain & Runtime Security โ ๏ธ Mixed (Kind + VMs)
Certification Coverage
This hackathon covers 100% of CKA, CKAD, and CKS exam domains:
| Certification | Challenges | Lab Environment | |---|---|---| | CKA (Certified Kubernetes Administrator) | 01โ15, 18 | Kind + VMs | | CKAD (Certified Kubernetes Application Developer) | 01โ12, 16โ17 | Kind | | CKS (Certified Kubernetes Security Specialist) | 09, 18โ20 | Kind + VMs |
๐ See the CNCF Curriculum for official exam domains. Practice exams available at Killer.sh.
Linux โ Kubernetes Quick Reference
| Linux Concept | Kubernetes Equivalent | Description | |---|---|---| | Process (PID) | Pod | Unit of execution | | systemctl / init.d | Controller Manager / Scheduler | Lifecycle management | | iptables / firewalld | NetworkPolicy / CNI | Traffic control | | /etc/fstab / mount | PersistentVolume / PVC | Storage and persistence | | root / sudoers | ClusterRole / RoleBinding | Access control | | top / ps / vmstat | kubectl top / Metrics Server | Resource monitoring | | journalctl / syslog | kubectl logs / Prometheus | Log collection | | crontab | CronJob / Job | Scheduled tasks | | yum / apt | Helm / Kustomize | Package management | | hostname / DNS | CoreDNS / Pod IP | Name resolution | | Namespaces / cgroups | Container Runtime / Pods | Isolation |
Prerequisites
๐ Zero-setup option: Open this repo in GitHub Codespaces and skip all prerequisites below โ everything is pre-installed and a cluster is ready to use.
If you prefer to run locally:
- Complete the Linux FUNdamentals Hackathon or have equivalent Linux experience (processes, networking, storage, permissions, shell scripting)
- Docker or Podman installed and running (
docker psorpodman psshould work) - kubectl installed (install guide)
- Kind installed (install guide) โ used as the default cluster for all challenges
- Helm installed (install guide)
- A terminal with bash or zsh (Linux, macOS, or Windows with WSL2)
- 4 GB of free RAM (recommended)
- No cloud account required for Challenges 01โ13 and 15โ17 (Challenge 14 requires a cloud provider; Challenges 18โ20 require VMs)
Tested Versions
| Tool | Version | Notes | |------|---------|-------| | Kubernetes | v1.36 | Via Kind | | kubectl | v1.36 | Match cluster version | | Kind | v0.27+ | Default cluster tool | | Helm | v3.17+ | For Challenge 11-12 | | Docker | 27.x+ | Container runtime |
โ ๏ธ Accuracy Commitment: Every command, YAML manifest, and lab in this hackathon has been tested end-to-end. If you find any issues, please open an issue.
Cloud-Agnostic Approach
This hackathon teaches Kubernetes-native concepts first โ all core challenges (01โ13) run on a local cluster with Kind. No cloud account or credit card needed.
Challenge 14 provides multi-cloud deployment variants:
| Provider | CLI | Managed Service | |----------|-----|-----------------| | Azure | az aks | AKS | | AWS | eksctl | EKS | | Google Cloud | gcloud container | GKE |
Learning Resources
- Kubernetes Official Documentation
- Kubernetes Blog
- CNCF Training & Certifications
- Killer.sh โ CKA/CKAD exam simulator
- Killercoda โ Interactive scenarios in browser
- KodeKloud โ Guided practice and labs
- Play with Kubernetes โ Temporary online cluster
- The Kubernetes Book โ Nigel Poulton
- Kubernetes Up & Running โ Kelsey Hightower, Brendan Burns
Certification Path
After completing this hackathon, you'll be well-prepared for:
KCNA โ CKA โ CKAD โ CKS
(Fundamentals) (Admin) (Developer) (Security)
Coach's Guide
In the Coach directory you'll find guidelines for running this Hackathon as an event, plus solutions for all challenges. If you're doing this as a student, don't look at the solutions โ go learn something. ๐
Contributions
Contributions in the form of bug reports, feature requests, and PRs are always welcome. Please follow these steps before submitting a PR:
- Create an issue describing the bug or feature request
- Clone the repository and create a topic branch
- Make changes, testing all commands and manifests
- Submit a PR
Related Projects
- ๐ง Linux FUNdamentals Hackathon โ Master Linux basics first
- ๐ From Server to Cluster โ Kubernetes book for Linux professionals
- ๐ค AI for Infrastructure Professionals โ AI workloads on infrastructure you build
- โ๏ธ Azure Governance Made Simple โ Cloud governance handbook
Portuguese Content
๐ง๐ท This hackathon is also available in Brazilian Portuguese! Check out the pt-br branch for the full translated version of all challenges, coach guides, and documentation.
For additional articles, tutorials, and resources on Linux, Kubernetes, and Cloud Infrastructure in Portuguese, visit ricardomartins.com.br.
Show Your Support
Give a โญ๏ธ if this content helped you!
Disclaimer: This is an independent, personal project โ not an official Microsoft publication. The views and content are solely the author's own. The concepts, architectures, and operational practices in this hackathon apply to any Kubernetes distribution โ AKS, EKS, GKE, k3s, or bare-metal.
Created by Ricardo Martins โ Principal Solutions Engineer @ Microsoft