← Back to list

☸️ DevOps Day-23: Kubernetes Hands-On — Install Minikube, kubectl & Deploy Your First Pod

Welcome to Day-23 of the 60-Day DevOps Series! 🎯 Yesterday (Day-22), you learned Kubernetes fundamentals. Today we move from theory → real…

Abhishek Kongari · 2026-01-07 04:02 · 0 claps · 2.8 min read
#kubernetes #kubernetes-cluster #kubernetes-operator #kubernetes-controller #kubernetes-security
Open on Medium ↗
Wiki topics: ☁️ · DevOps & Cloud

☸️ DevOps Day-23: Kubernetes Hands-On — Install Minikube, kubectl & Deploy Your First Pod

Welcome to Day-23 of the 60-Day DevOps Series! 🎯 Yesterday (Day-22), you learned Kubernetes fundamentals. Today we move from theory → real hands-on.

By the end of today, you will: ✔ Run Kubernetes locally ✔ Use kubectl like a real engineer ✔ Deploy your first Pod ✔ Understand what’s actually happening behind the scenes

This is a huge confidence booster day.

🎯 What You’ll Learn Today

✔ What is Minikube ✔ Install kubectl ✔ Install & start Minikube ✔ Understand Kubernetes context ✔ Deploy first Pod ✔ Inspect & debug Pod

Let’s begin ☸️🚀

🧠 What Is Minikube?

Minikube is a local Kubernetes cluster.

It allows you to: ✔ Run Kubernetes on your laptop ✔ Practice safely ✔ Learn without AWS cost ✔ Break things & fix them

In real jobs:

  • Dev → Minikube
  • QA → Test cluster
  • Prod → EKS / AKS / GKE

Minikube = learning playground 🎯

🧰 PART-1: Install kubectl (Kubernetes CLI)

kubectl It is the command-line tool to interact with Kubernetes.

Think:

Docker → docker
Kubernetes → kubectl

🟢 Linux (Ubuntu)

sudo apt update
sudo apt install -y kubectl

Verify:

kubectl version --client

🟡 Windows / Mac

Install via: 👉 https://kubernetes.io/docs/tasks/tools/

Verify:

kubectl version --client

If you see version output → perfect ✅

🧰 PART-2: Install Minikube

🟢 Linux

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

Verify:

minikube version

🟡 Windows / Mac

Download the installer from: 👉 https://minikube.sigs.k8s.io/docs/start/

Verify:

minikube version

🚀 PART-3: Start Kubernetes Cluster

Now the real fun starts 😎

Start Minikube:

minikube start

This will: ✔ Create VM ✔ Install Kubernetes ✔ Start Control Plane ✔ Configure kubectl

⏳ First time may take a few minutes.

✅ Verify Cluster Status

kubectl get nodes

Expected output:

NAME       STATUS   ROLES    AGE   VERSION
minikube   Ready    control-plane   ...

🎉 Your Kubernetes cluster is RUNNING!

🧠 Kubernetes Context (Important)

Check current context:

kubectl config current-context

You should see:

minikube

This means: ✔ kubectl is talking to Minikube ✔ You are safe to practice

🚀 PART-4: Deploy Your First Pod (Hands-On)

We will run Nginx inside Kubernetes.

🟢 Step-1: Create Pod

kubectl run nginx-pod --image=nginx

This tells Kubernetes:

“Run an Nginx container inside a Pod”

🟡 Step-2: Check Pod Status

kubectl get pods

You’ll see:

nginx-pod   Running

🎉 Your first Kubernetes Pod is LIVE!

🔎 PART-5: Inspect the Pod (Very Important)

📄 Describe Pod

kubectl describe pod nginx-pod

You’ll see: ✔ Pod IP ✔ Node name ✔ Container image ✔ Events (very important for debugging)

📜 View Logs

kubectl logs nginx-pod

Logs = stdout/stderr of container Exactly like Docker logs ✔️

🧑‍💻 Exec Into Pod

kubectl exec -it nginx-pod -- bash

Now you are INSIDE the container 🎯

Exit:

exit

🔄 PART-6: Pod Lifecycle (Important Concept)

Delete Pod:

kubectl delete pod nginx-pod

Check:

kubectl get pods

Pod is gone ❌

This teaches: ✔ Pods are ephemeral ✔ Kubernetes recreates pods only when managed by controllers (Deployments) ✔ Pods alone are NOT enough for production

We’ll fix this tomorrow 😉

🧑‍🏫 Common Beginner Mistakes (Avoid These)

❌ Forgetting to start Minikube ❌ Wrong kubectl context ❌ Expecting Pods to self-heal ❌ Confusing Pod with Deployment

Today you learned the correct way 👍

🧑‍💻 Interview Questions (After Today)

Expect: ❓ What is Minikube? ❓ What is kubectl? ❓ How to check cluster status? ❓ How to create a Pod? ❓ How to view logs in Kubernetes? ❓ Why are Pods not used directly in production?

You can now answer confidently 💪

🎯 Summary

Today you: ✔ Installed kubectl ✔ Installed Minikube ✔ Started Kubernetes cluster ✔ Deployed your first Pod ✔ Inspected & debugged Pod

This is a major milestone ☸️🔥

🚀 What’s Next?

Tomorrow is Day-24:

👉 Kubernetes Deployments & ReplicaSets — Scaling & Self-Healing (HANDS-ON)

This is where Kubernetes becomes POWERFUL 💥, and if you’re following this journey, post on Medium: 👉 “Completed Day-23 — My first Kubernetes Pod is running!”


메타데이터
post_id
42b113b9734a
slug
️-devops-day-23-kubernetes-hands-on-install-minikube-kubectl-deploy-your-first-pod-42b113b9734a
url
https://medium.com/@abhishekkongari/%EF%B8%8F-devops-day-23-kubernetes-hands-on-install-minikube-kubectl-deploy-your-first-pod-42b113b9734a
canonical_url
https://medium.com/@abhishekkongari/%EF%B8%8F-devops-day-23-kubernetes-hands-on-install-minikube-kubectl-deploy-your-first-pod-42b113b9734a
author_url
https://medium.com/@abhishekkongari
status
ok
fetched_at
2026-06-29 02:33:43