Running Your First Application
Let’s deploy a simple NGINX web server in Kubernetes.
Step 1: Create Deployment
kubectl create deployment nginx --image=nginxStep 2: Expose It
kubectl expose deployment nginx --port=80 --type=NodePortStep 3: View It
minikube service nginxThis will open your NGINX app in the browser. You’ve just deployed and exposed your first app!
