DEV Community

Cover image for Step by Step Kubernetes Deployment using Helm | Kubernetes on Cloud ☁️ 🚀 (2/2)
TechWorld with Nana
TechWorld with Nana

Posted on • Edited on

Step by Step Kubernetes Deployment using Helm | Kubernetes on Cloud ☁️ 🚀 (2/2)

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:

Top comments (1)

Collapse
 
thatham profile image
Venkatesh Thatham

Hi Nana,

Thank you for this great kubernetes video Series' Articles.
It really helped me to transform my kubernetes knowledge from beginner to mid-level (still yet face the real world).

I've setup NGINX Ingress Controller as Loadbalancer (using Helm) in AKS for my microservices, created secret the tls certificate I've purchased from Godaddy for my domain and finally configured Ingress rule for my services (all under same namespace). All done well.

when I open my services url in web, I've noticed that the site shows still "Not Secure" and its' from "Kubernetes Ingress Controller Fake Certificate". Please refer the screet shot of the same.

kindly advise.

Regards,

Venky