Category: Database, Kubernetes, nginx

Today I am going to talk about how to we can create a scalable web application with microservice.I wanted to deploy a full-stack application on a Kubernetes cluster but never found a good video that does it, so that’s what I will be doing today. It’s just a POC, so I’m not going to use anything fancy.This application has a front end which has been created with HTML/CSS and will be hosted with nginx and a backend with Node.js express and connected to Mongo DB. Initially, I did not want to add the database in the stack as it does not work in production as it is not scalable, but why not. GitHub: https://github.com/alvisf/kubernetes_fullstact_deployBackEnd Application | Express Node js this Is a simple server app where it sends data that backend is connected and the database is also connected

Now we can deploy the image as a container and scale it upwe need to create a deployment for the application and service to deliver the application.

Related Articles