hritikchokker / node-react-microservice-docker-k8s

node react app with microservices implementation with docker and kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node React Microservices app

implemented using docker and kubernetes

Development process: -Skaffold cli

  • skaffold this will kickstart the entire application automatically

Manual kickstart (docker and kubernetes must be installed & configured)(not recommended)

navigate to infra/k8s director and run following commands

  • kubectl apply -f posts-depl.yaml
  • kubectl apply -f comments-depl.yaml
  • kubectl apply -f query-depl.yaml
  • kubectl apply -f event-bus-depl.yaml
  • kubectl apply -f moderation-depl.yaml
  • kubectl apply -f client-depl.yaml
  • kubectl apply -f ingress-srv.yaml

Note: important configuration

host file in your system

C:\Windows\System32\drivers\etc (depending on your OS)

update the 'hosts' file and add this

  • 127.0.0.1 posts.com

Development Server

after running every command/configs mentioned above, navigate to Post_Microservice_App

About

node react app with microservices implementation with docker and kubernetes


Languages

Language:JavaScript 72.0%Language:HTML 16.5%Language:CSS 6.8%Language:Dockerfile 4.7%