☸️ Kubernetes (K8s)
Learn Kubernetes basics for QA, including pods, deployments, services, kubectl, YAML manifests, test environments and common errors.
Master Kubernetes from zero to interview level. Learn to deploy, scale, and manage containerized applications — the technology behind Google, Netflix, and every major tech company's infrastructure.
What you can learn on this page
- 🎯 What is Kubernetes? — Kubernetes is a smart shipping manager at a huge port: you don't tell each crane operator what to do step by step, you just declare 'I need 10 containers of goods delivered, always keep at least 5 ships loaded, and if one crane breaks, use another' — and the p
- ⚙️ Installing Kubernetes — Think of minikube as a driving-school car park and a cloud cluster as the motorway. Both have the same steering wheel, the same gears, the same rules of the road — but in the car park nobody is hurt when you stall, and it costs nothing to try the manoeuvre aga
- 🏗️ Kubernetes Architecture — Think of a Kubernetes cluster as a company: the Control Plane is the management floor — CEO (API Server), memory/HR (etcd), scheduler (assigns tasks), managers (controllers) — while the Worker Nodes are the actual offices where work happens, each with a superv
- 📦 Core Kubernetes Concepts — Pod — The Smallest Unit A Pod is the shipping container itself (the physical box, not the Docker concept) — the Docker container is the goods packed inside it. One Pod usually wraps one container, but can hold multiple containers that need to share network and
- ⌨️ kubectl Commands Cheat Sheet — kubectl is the remote control for your cluster — you type a command, and it's the API Server, not kubectl itself, that actually executes it. Every single kubectl command, no exceptions, goes through the API Server. So why funnel even read-only commands like `k
- 📝 YAML Manifests — Hands-On — In Kubernetes, everything is described as YAML files called 'manifests' — think of YAML as a letter you write to the cluster: 'Dear K8s, please run 3 copies of my app, connect them to port 8080, and make sure they stay healthy.' YAML indentation with 2 spaces
- 🔗 Kubernetes Ecosystem & Tool Relationships — Kubernetes is not a standalone tool — it's the hub of a modern DevOps ecosystem, and understanding how it connects to Docker, Jenkins, Kafka, and Helm is exactly what separates a basic K8s user from a Senior DevOps/QA Engineer. So why does Kubernetes need all
- 🛠️ Real-World Kubernetes — Hands-On — This section walks you through a complete real-world scenario — deploying a Spring Boot REST API to Kubernetes from scratch — the same way a flight simulator walks a pilot through an actual cockpit instead of a slideshow about cockpits. Follow every command st