What We Did

Deployed a real Nginx app on a local Kubernetes cluster using Minikube, exposed it, and opened it in the browser.


Step 1 — Start the Cluster

minikube start

Wait for:

Done! kubectl is now configured to use "minikube" cluster

Step 2 — Create a Deployment

kubectl create deployment my-nginx --image=nginx:latest

This pulls the nginx image and creates a Deployment.

Verify:

kubectl get deployments

Expected:

NAME       READY   UP-TO-DATE   AVAILABLE
my-nginx   1/1     1            1

Step 3 — Check the Pod

kubectl get pods

You may first see: