Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Task 5 – Kubernetes with Minikube - Docker

This project demonstrates running a simple Kubernetes deployment and service locally using Minikube with the Docker driver.

Steps Performed in here

  1. Installed Tools
  • Installed Minikube and added it to PATH (C:\minikube\minikube.exe).
  • Installed kubectl CLI.
  • Used Docker Desktop as the container runtime (--driver=docker).
  1. Started Minikube
minikube start --driver=docker
kubectl get nodes
kubectl cluster-info
  1. Created Deployment

File: deployment.yaml created.

kubectl apply -f deployment.yaml
kubectl get pods
  1. Created Service

File: service.yaml created.

kubectl apply -f service.yaml
kubectl get svc
  1. Accessed Application

(port-forward):

kubectl port-forward service/hello-service 8080:80
# open http://localhost:8080
  1. Scaled Deployment
kubectl scale deployment hello-deployment --replicas=4
kubectl get pods
  1. Verified and Collected Screenshots
  • kubectl get pods
  • kubectl get svc
  • Browser output (Hello page)

Repo Structure

.
├── deployment.yaml
├── service.yaml
└── screenshots/

including Readme.md at last


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors