Create Multiple Deployments Using Helm

Create Multiple Deployments Using Helm

Kubernetes is an open-source platform that lets us deploy and manage containerized applications. Kubernetes manages Services from initial deployment to the final exposure. Kubernetes is also instrumental in the scalability and availability of applications.

Helm is a package manager for Kubernetes. It bundles different Kubernetes resources into a single, easily-deployable package called a Helm chart. Through Helm, we can install applications using a single command.

In this project, we’ll use Kubernetes and Helm command-line tools to perform different operations necessary to deploy a Ruby on Rails (RoR) application with a PostgreSQL database over a Kubernetes cluster.

First, we’ll use Docker to containerize the application and push it to Docker Hub for later use. Then, we’ll use a published Helm chart to deploy the database. We’ll also create a custom Helm chart to deploy the RoR web application. After deployment, we’ll create and inject environment variables into the front-end and back-end containers. Finally, we’ll host the application using Helm for global access.