Deploy NGINX to Kubernetes using Deployment and Service manifests, then verify workloads, networking, rollout status, and basic troubleshooting flow.
Understand core Kubernetes resources and how containerized workloads are deployed and exposed inside a cluster.
Create the Kubernetes manifest files for application deployment.
Write a Deployment manifest
Set replica count
Define labels and container image
Create a Service so the workload can be reached in the cluster.
Write a Service manifest
Match Service selector to pod labels
Choose the correct service type
Deploy resources and validate that Kubernetes created the expected objects.
Apply manifests with kubectl apply
Check pods with kubectl get pods
Check service with kubectl get svc
Inspect rollout status
Practice the commands used to inspect the workload and explain it during interviews.
Inspect pod details with kubectl describe
Read logs with kubectl logs
Explain the role of Deployment and Service
Write a Deployment manifest.
Write a Service manifest.
Apply resources with kubectl.
Verify pods and services.
Inspect logs and rollout status.
kubectl get deployment shows ready replicas
kubectl get pods shows running pods
kubectl get svc shows the created service
kubectl rollout status reports success
kubectl logs returns expected NGINX output
Deployment YAML
Service YAML
README with commands and validation steps
Verification screenshots or terminal output
Shows you can work with real Kubernetes objects and explain how applications are deployed, exposed, and verified inside a cluster.
Service selector does not match pod labels
Wrong container port configuration
Using the wrong namespace
Forgetting to inspect rollout status
Assuming the pod is healthy without checking logs or describe output
Add Ingress for HTTP routing
Scale replicas and test rollout behavior
Add liveness and readiness probes
Convert manifests into a Helm chart