ricmmartins
fasthack-kubernetes
Shellโœจ New

Hackathon - Kubernetes for Linux Sysadmins: From Server to Cluster

Last updated Jul 4, 2026
27
Stars
13
Forks
1
Issues
+1
Stars/day
Attention Score
43
Language breakdown
No language data available.
โ–ธ Files click to expand
README

๐Ÿš€ FastHack Kubernetes

From Server to Cluster โ€” A Hands-on Hackathon for Linux Professionals

Validate Content License: MIT Kubernetes Kind [Cloud Agnostic]() [CKA]() [CKAD]() [CKS]() Open in GitHub Codespaces

๐Ÿ–ฅ๏ธ One-Click Lab Environment

No setup needed! Click the button below to get a full Kubernetes lab running in your browser in ~3 minutes:

Open in GitHub Codespaces

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.

- Understand containers as isolated Linux processes. Build, run, and inspect containers with Docker or Podman. - Create your first Kubernetes Pod and understand how it relates to Linux processes and containers. - Set up a Kubernetes cluster with Kind or Minikube. Explore kubeconfig, contexts, and the kube-system namespace. - Deploy applications with replicas, perform rolling updates and rollbacks. Understand resource requests and limits. - Expose applications with Services (ClusterIP, NodePort). Understand Pod-to-Pod communication and CoreDNS. - Route external HTTP traffic into your cluster using Ingress Controllers and the new Gateway API. - Configure persistent storage with PV, PVC, and StorageClass. Understand the difference between ephemeral and persistent data. - Externalize application configuration. Manage sensitive data with Secrets and understand encryption at rest. - Control access with ServiceAccounts, Roles, and RoleBindings. Apply Pod Security Admission and Network Policies. - Configure Horizontal Pod Autoscaler, Metrics Server, and Probes (liveness, readiness, startup). - Package applications with Helm charts. Customize deployments with Kustomize overlays. Introduction to GitOps. - Deploy a monitoring stack. Query metrics with PromQL. Build dashboards and configure alerts. - Diagnose and resolve 5 real-world failure scenarios: CrashLoopBackOff, DNS failures, storage issues, and more. - Deploy your application to a managed Kubernetes service. Compare AKS (Azure), EKS (AWS), and GKE (Google Cloud). - Master taints, tolerations, node/pod affinity, topology spread, static Pods, ResourceQuotas, LimitRanges, and PodDisruptionBudgets. - Build optimized container images with Dockerfiles, multi-stage builds, registries, and Podman. - Implement blue/green, canary, and recreate deployments. Handle API deprecations. - Bootstrap clusters with kubeadm, perform upgrades, backup/restore etcd, explore CRDs and Operators. - CIS benchmarks, audit logging, TLS Ingress, ServiceAccount hardening, Secrets encryption at rest. - Image scanning (Trivy), SBOM, cosign, AppArmor, seccomp, Falco, static analysis, container immutability.

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 ps or podman ps should 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

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

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

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท ricmmartins/fasthack-kubernetes ยท Updated daily from GitHub