Skip to content

Walchand-Linux-Users-Group/K8s_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Meta2k25 Project

Follow these commands to set up and deploy the project.

Basic Minikube Setup

minikube stop
minikube delete
minikube start
eval $(minikube docker-env)

Frontend Deployment

cd Frontend
docker build -t pranav0786/frontend .
kubectl apply -f frontend.yaml 

Backend Deployment

docker build -t pranav0786/backend .
kubectl apply -f backend.yaml
kubectl apply -f mongodb.yaml

Port Forwarding for Backend Service

kubectl port-forward svc/backend-service 9563:4904

Entering into the mongodb pod

kubectl exec -it <mongodb-pod-name> -- bash
mongosh
db.records.find()

Start

kubectl get pods
minikube ip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published