Deploy a Full Stack Web Application over Kubernetes
In this project, we’ll use Docker and Kubernetes command-line tools to perform the different operations necessary to deploy a Ruby-on-Rails (RoR) application over a Kubernetes cluster. We’ll use the PostgreSQL database with this application.
Kubernetes is an open-source platform that lets us deploy and manage containerized applications. Kubernetes takes and manages services, from the deployment stage to the final stage of exposure. Beyond that, Kubernetes also automatically restarts crashed applications and load balances the traffic between replicas.
We’ll use Docker to containerize our application, and we’ll push it to Docker Hub for later use. Then, we’ll separately deploy our Rails web application and Database following the microservice architecture. Also, we’ll create and inject environment variables in our frontend and backend containers. Finally, we’ll host our application using Kubernetes for global access.