Start Learning Kubernetes without paying a single rupee to AWS or Cloud Providers! 🛑💸
In today's video (Day 24 of 30 Days DevOps Challenge), we turn your Laptop into a Production-Grade Kubernetes Cluster using Minikube.
Many beginners struggle with K8s installation. Today, we fix that. We will install Minikube, run our first Nginx Pod, Auto-Scale it to 5 servers, and access the graphical Dashboard.
📥 Download Links:
Download Minikube: https://minikube.sigs.k8s.io/docs/start/
Download Docker Desktop: https://www.docker.com/products/docke...
💻 Commands Used in this Video (Cheat Sheet):
1. Start Minikube (Create Cluster):
minikube start
2. Check Cluster Status:
kubectl get nodes
3. Create Your First Deployment (Nginx):
kubectl create deployment my-web --image=nginx
4. Check Pods:
kubectl get pods
5. Expose App to Browser (Create Service):
kubectl expose deployment my-web --type=NodePort --port=80
6. Get the URL to Access App:
minikube service my-web
7. Auto-Scaling Magic (Scale to 5 Replicas):
kubectl scale deployment my-web --replicas=5
8. Verify Scaling:
kubectl get pods
9. Open Visual Dashboard:
minikube dashboard
10. Delete Everything (Cleanup):
minikube delete
👨💻 Join the DevOps Challenge:
If you completed the setup, take a screenshot of your Dashboard and tag me on Instagram!
📸 Instagram: https://www.instagram.com/learningwit...
💼 LinkedIn: https://www.linkedin.com/in/hanuman-g...
#Kubernetes #Minikube #DevOps #K8s #LearningWithHanuman #SoftwareEngineering #CloudComputing