Demo workflow for Minikube

Here’s a ready-to-run “one-shot” demo workflow for Minikube that sets up a webserver deployment, exposes it, configures HPA, and generates load so you can see autoscaling in action immediately. You can copy-paste these commands one after the other in your terminal. Step 0: (Optional) Clean up old resources kubectl delete deployment webserver --ignore-not-found kubectl delete svc webserver --ignore-not-found kubectl delete hpa webserver --ignore-not-found kubectl delete pod load\-generator --ignore-not-found Step 1: Create the webserver deployment kubectl create deployment webserver --image=gcr.io/google_containers/echoserver:1.10 Step 2: Expose the deployment as a NodePort service kubectl expose deployment webserver --type=NodePort --port=8080 Check service: ...

January 31, 2026 · 2 min