loading...
Cover image for Step by Step Kubernetes Deployment using Helm  | Kubernetes on Cloud โ˜๏ธ ๐Ÿš€ (2/2)

Step by Step Kubernetes Deployment using Helm | Kubernetes on Cloud โ˜๏ธ ๐Ÿš€ (2/2)

techworld_with_nana profile image Techworld with Nana Updated on ใƒป2 min read

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:

Posted on by:

techworld_with_nana profile

Techworld with Nana

@techworld_with_nana

DevOps Consultant | YouTuber ๐ŸŽฌ | Software Engineer ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Based in Austria ๐Ÿ‡ฆ๐Ÿ‡น

Discussion

markdown guide
 

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