Step by Step Kubernetes Deployment using Helm | Kubernetes on Cloud ā˜ļø šŸš€ (2/2)

TechWorld with Nana - Jul 31 '20 - - Dev Community

In the below demo video we go through a practical use case of deploying applications on a managed Kubernetes cluster on Linode Kubernetes Engine.

What we deploy:
Deployment Managed Kubernetes Cluster

I will show you how to deploy a replicated database, configure its persistence and making it available with a UI client from browser using Ingress. To make the process more efficient, we will also use Helm Charts (Helm is a package manager for Kubernetes). šŸš€

Basic Setup knowledge šŸ˜Ž

You will need this setup almost always for your Kubernetes cluster. No matter which database or cloud platform you use. So you can use the concept you learn in this video for many other use cases as well āœ…

Follow along in this demo šŸ¤“ šŸ‘©šŸ»ā€šŸ’»

  1. Deploy replicated MongoDB (StatefulSet using Helm)
  2. Configure Data Persistence for MongoDB
  3. Deploy MongoExpress (Deployment and Service)
  4. Deploy NGINX Ingress Controller as Loadbalancer (using Helm)
  5. Configure Ingress rule

In detail we will deploy MongoDB on Linode Kubernetes Cluster using Helm (1.). We will create replicated MongoDB using StatefulSet component and configure data persistence for MongoDB with Linode's cloud storage (2.).

Then we will deploy MongoExpress, a UI client, for MongoDB database to access it from the browser (3.). For this client we will configure NGINX Ingress Controller (4.), which means deploying Ingress Controller in the cluster and configure Ingress rule to route the request to MongoExpress internal Service (5.).

ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬

Need some refresher before starting the demo? šŸ‘€

If you need some pre-knowledge of some Kubernetes components, e.g. what StatefulSet is, how Data Persistence work in Kubernetes and what Ingress and Helm is in general etc. check out my Kubernetes playlist, which covers everything in detail šŸ’” https://www.youtube.com/playlist?list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb
ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬ā–¬

Watch the full video here šŸ¤“

All the source code is documented on Gitlab ā–ŗ Gitlab LKE Demo so you can follow along easily. šŸ™ŒšŸ¼


Like, share and follow me šŸ˜ for more content:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player