Thuta Learning
BasicDevOpsintermediate

Get Started (Setup)

Relax. We'll talk through this in plain words — no textbook voice.

What you'll walk away with

  • Understand Get Started (Setup) without any of the intimidation
  • Get comfortable running kubectl commands and YAML yourself
  • Apply this concept right away in a real project

Take a moment to think about this

You don't need to jump straight into a production Kubernetes cluster (AWS EKS, Google GKE) — you can run a 'mini cluster' right on your local computer. minikube is a tool that packs the Control Plane and a Worker Node together into a single VM (or container) — it's the go-to for learning and testing. kind (Kubernetes IN Docker) follows the same idea, simulating K8s nodes inside Docker containers. Docker Desktop also has a built-in Kubernetes option.

Let's connect this to a real scenario

Install minikube and run `minikube start` to spin up a local cluster (the first run can take a bit since it needs to download images). Once the cluster is running, you can interact with it using the `kubectl` command line tool (covered in the next lesson). You can even run `minikube dashboard` to view the cluster through a visual web UI.

Let's look at it together

text
# Install minikube (see minikube.sigs.k8s.io for your OS)

# Start a local cluster
minikube start

# Check it's running
minikube status

# Open the visual dashboard (optional)
minikube dashboard
You should see
minikube status

minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running

5-minute try-it

Install minikube (or kind) and run `minikube start` — get your setup working until you see the success message.

A quick word of caution

minikube is for learning — it can't handle production traffic. In production, you'll use a managed service (EKS, GKE, AKS) or a self-managed multi-node cluster.

Easy traps

  • Forgetting to install Docker (or another VM driver) before running minikube start — minikube needs a driver to run at all
  • Shrugging off slowness after running a production-like, resource-heavy app on a local minikube cluster

Now try it yourself

Install minikube (or kind) and run `minikube start` — get your setup working until you see the success message.

You'll know it worked when: minikube status minikube type: Control Plane host: Running kubelet: Running apiserver: Running