Skip to content

HitanshuGupta/mern-app-with-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniKube Environment Mern App Deployment

Architecture

Mern App Architecture

Result

Deployment Result

Set-Up Instructions

To set up the Control Plane (Master) and Worker Node, use the following commands:

apt-get install kubectl   
apt-get install minikube  

++++++++++++++++++++++++++++++++++++++

These are some commands which use for creating the pod.

minikube start
kubectl get pod
kubectl apply -f mongo-config.yaml
kubectl apply -f secret.yaml
kubectl apply -f mongo-app.yaml
kubectl apply -f web-app.yaml
kubectl get pod
kubectl get configmap
kubectl get secret
kubectl get svc
minikube ip
kubectl get node -o wide

To start the service

minikube service webapp-service

++++++++++++++++++++++++++++++++++++++

Cleanup Commands

To delete all deployments, use the following command:

kubectl delete deployment --all
kubectl delete secret --all

For more information, refer to the : https://kubernetes.io/docs/home/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published