This repository contains the deliverables for the DevOps Internship Task 5. I set up a Kubernetes cluster using Minikube on an Ubuntu EC2 instance, deployed an Nginx application, and exposed it via a NodePort service accessible on the EC2 public IP.
deployment.yaml: Defines the Nginx deployment with 2 replicas.service.yaml: Exposes the Nginx app on port 30007 (NodePort).pods.txt: Output ofkubectl get pods.services.txt: Output ofkubectl get services.- (Screenshots uploaded separately or linked if hosted.)
- Installed Docker, kubectl, and Minikube.
- Started Minikube with Docker driver.
- Created and applied
deployment.yamlfor Nginx. - Exposed the app with
service.yaml(NodePort 30007). - Scaled the deployment to 4 replicas.
- Verified pods, services, and accessed the app at
http://<ec2-public-ip>:30007.
The Nginx app is accessible at http://<ec2-public-ip>:30007 (replace with actual IP).
- Ensure EC2 security group allows port 30007.
- Screenshots of the browser and terminal outputs are included or linked.