DEV Community

Cover image for Complete Guide to setting up your Application using Kubernetes Components
TechWorld with Nana
TechWorld with Nana

Posted on

8 2

Complete Guide to setting up your Application using Kubernetes Components

Or how to get started with Kubernetes in practice 🤠

Instead of creating each component separate without context, this video goes through a complete application setup using several Kubernetes components: pod, deployment, service, configmap and secret.

It's a hands-on, practical tutorial of using the different Kubernetes Components together, which will give you a big picture.

We basically create the Kubernetes infrastructure for this browser request flow:
request flow through kubernetes components

Starting from the request end we step by step create the following:

1) MongoDB Deployment

Creating the database container/pod, in which the mongodb runs.

2) Secret

Creating the Secret component, where the username and password are stored.

3) Internal Service

Creating the service for MongoDB to be accessible by other Kubernetes components.

4) Mongo Express Deployment

Creating the Mongo Express container/pod, in which the web application runs.

5) ConfigMap

Creating the ConfigMap component, where the server url of the MongoDB is stored.

6) External Service

Creating the external service for Mongo Express to be accessible from outside the kubernetes cluster (from the browser)

Although this is a beginner tutorial, if you never watched a video about Kubernetes, check out my other videos to learn the basic concepts. 🙅🏼‍♀️🤓


I'm happy to connect with you on

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (2)

Collapse
 
ramnikov profile image
Andrey Ramnikov

Very good tutorial.
I followed all the steps and could get the same result.
Waiting for your new release:-)

Collapse
 
techworld_with_nana profile image
TechWorld with Nana

That's great, thanks Andrey :)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay