Deploying a custom Mongodb operator using Helm Charts

Building a Helm chart and managing it, are two different aspects of packaging an application for Kubernetes. Helm is efficient enough to package a complex K8s application and deploy it. When it comes down to app management, there are certain challenges…


This content originally appeared on DEV Community and was authored by Abhinav Dubey

Building a Helm chart and managing it, are two different aspects of packaging an application for Kubernetes. Helm is efficient enough to package a complex K8s application and deploy it. When it comes down to app management, there are certain challenges with Helm. In this short blog, we will see how easy it is to deploy and manage a custom mongodb chart using Devtron.

So, let’s get started

If you are not aware of Helm, please have a read of my previous blog for detailed understanding of Helm charts.

[Note: The only prerequisite of getting started with Devtron is to have a Kubernetes cluster]

Adding Helm repository

Devtron comes with a number of pre-added, commonly used Helm charts that can be seen in the Charts section. But if you want to install your custom chart, let's say MongoDB, it can be easily achieved using Devtron.

To add any custom chart, go to Global ConfigurationsChart RepositoryClick on Add RepositoryClick SaveClick on Refresh Charts

[Note: If you do not see any charts in Charts section, click on Refresh Charts to sync all the charts from added repositories]

add-repository

Deploying Helm charts

Now that we have added our custom chart repository i.e, percona, let’s deploy it.

To deploy any chart through Devtron, goto ChartsClick on Chart to DeployClick DeployChange Values as per requiredClick Deploy Chart

For instance, I want to deploy Percona's MongoDB operator. Let’s see how we can deploy it with just a few clicks.

Step-1: Select the chart to deploy i.e, percona/psmdb-operator

chart-store

Step-2: Click on Deploy to edit default values as per your requirements.

edit-default-values

Step-3: Edit the default configuration and click on Deploy Chart. You can also see the description for all the parameters, from the sidebar - README of the particular chart.

chart-values-and-readme

Step-4: Congratulations, you have successfully deployed! You can see all the details of your deployed chart such as current status, different workloads, manifests, events, logs, deployment history, etc within Devtron dashboard itself.

chart-details

Reach out to us through the Discord channel and refer to Devtron documentation, to find all the features of Devtron.


This content originally appeared on DEV Community and was authored by Abhinav Dubey


Print Share Comment Cite Upload Translate Updates
APA

Abhinav Dubey | Sciencx (2022-06-28T11:00:31+00:00) Deploying a custom Mongodb operator using Helm Charts. Retrieved from https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/

MLA
" » Deploying a custom Mongodb operator using Helm Charts." Abhinav Dubey | Sciencx - Tuesday June 28, 2022, https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/
HARVARD
Abhinav Dubey | Sciencx Tuesday June 28, 2022 » Deploying a custom Mongodb operator using Helm Charts., viewed ,<https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/>
VANCOUVER
Abhinav Dubey | Sciencx - » Deploying a custom Mongodb operator using Helm Charts. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/
CHICAGO
" » Deploying a custom Mongodb operator using Helm Charts." Abhinav Dubey | Sciencx - Accessed . https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/
IEEE
" » Deploying a custom Mongodb operator using Helm Charts." Abhinav Dubey | Sciencx [Online]. Available: https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/. [Accessed: ]
rf:citation
» Deploying a custom Mongodb operator using Helm Charts | Abhinav Dubey | Sciencx | https://www.scien.cx/2022/06/28/deploying-a-custom-mongodb-operator-using-helm-charts/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.