Deploy Your First Workload
Deploy a simple NGINX pod and service on your Kubernetes cluster.
1 min read
๐ Step 5: Deploy Your First Workload
With your Kubernetes cluster set up and the pod network installed, it's time to deploy a simple application.
๐ Create an NGINX Deployment
Create a deployment with the official NGINX image:
bash
๐ Expose the Deployment
Expose it as a service on port 80:
bash
๐ Verify Deployment and Service
Check the pods status:
bash
Check the service details and port:
bash
๐ Access the NGINX Server
Use the Node IP and the assigned NodePort to access your NGINX server via browser or curl.
โญ Next Steps
Continue by exploring scaling, updates, and managing your workloads.