Skip to content

This is a simple blog implemented with NodeJs & React and Microservice (mini) architecture. Without DB.

License

Notifications You must be signed in to change notification settings

mjmichael73/rn-blog-minimicroservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to create posts container:

cd to posts directory
run this command: docker build -t mojimich2015/posts:0.0.1 .

How to run only posts pod:

cd to infra\k8s\
run this command: kubectl apply -f posts.yml

How to see if posts pod is created and running:

cd to infra\k8s
run this command: kubectl get pods

Some useful commands for working with pods:

docker ps => kubectl get pods
docker exec -it [container id] [cmd] => kubectl exec -it [pod_name] [cmd]
kubectl logs [pod_name]
kubectl delete pod [pod_name]
kubectl apply -f [config file name]
kubectl describe pod [pod_name]

Some useful commands for working with deployments:

kubectl get deployments
kubectl describe deployment [depl name]
kubectl apply -f [config file name]
kubetl delete deployment [depl name]

About

This is a simple blog implemented with NodeJs & React and Microservice (mini) architecture. Without DB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published