An Open Source No-Code Solution for Kubernetes Deployment now on Minikube

Yes! You read it right. Devtron, an open source end-to-end software delivery workflow for Kubernetes, can also be installed over the Minikube cluster, now! Devtron is a no-code solution for Kubernetes deployment written in go. It helps you to deploy your micro-services over Kubernetes without any code, just in fraction of minutes. So, We have been receiving multiple requests from the community to access Devtron over Minikube cluster. We delivered on it.

In this blog, we will discuss Minikube, its usage and also walk you through the complete installation process of Devtron over the Minikube cluster.

Now, so that Devtron can be installed over minikube, let's understand a bit about it. Minikube is a tool that helps you to run Kubernetes on your local server over a single node cluster. It is platform-agnostic and can be easily installed in your local systems (Windows, MacOS, Linux).

Prerequisites

System Requirements

  • 2 CPUs+ cores
  • 4GB+ of free memory
  • 20GB+ free disk space

Cluster Setup in Local System using Minikube

To install Devtron, the prerequisite is to have a Kubernetes cluster. We can set up a Kubernetes cluster in our local system using minikube and then manage the pods using kubectl or other Kubernetes command-line tools. Please refer to the documentation for detailed instructions to install minikube in your respective systems.

After installation, please execute the following command -

minikube start --cpus 4 --memory 8192

The command will start a minikube cluster with 4 CPUs and 8192 memory. We need to provide the extra flags because by default it only takes 2 CPUs and 2048 memory which can be seen from here and it is not sufficient for Devtron installation.

Devtron Installation

As we have successfully installed a minikube cluster in our system, we are ready to install Devtron over it. The installation of Devtron is pretty straightforward. We can use helm3, helm2, and kubectl to install Devtron. I will be using helm3 for installation. You can refer to the documentation for more details of installation.

Installation using helm3

Before getting started with Devtron installation, please make sure helm3 is successfully installed on your system. If it is successfully installed, please follow the following steps to install Devtron.

helm repo add devtron https://helm.devtron.ai
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \

The above install command might take around 30 minutes to complete the installation. It will download the inception pod, which in the background will trigger the installation of Devtron.

To confirm the installation has started or not, please use the following command -

kubectl get pod -n devtroncd

The expected output should resemble the following pod name -
Inception-654db887f5-hdnbb

The above pod is responsible for installing Devtron over the cluster. It will launch multiple other pods within 20-30 minutes of the time interval.

To check the installation status please run the following command -

kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.status}'

If the installation is still in progress, it will print Downloaded, and if the installation is complete, Applied is printed.

After the successful completion of installation, we can move ahead to activate the dashboard URL and retrieve login credentials, to begin with, Devtron. For the dashboard URL, we have to use the concept of tunneling. In a separate terminal, please run the following command -

minikube tunnel

It will provide a temporary External IP address to access the devtron-service, which can be seen from the following command -

kubectl get svc -n devtroncd

Now as we have got the External IP, we can use that IP to access the Devtron dashboard. Please copy and paste the IP in your preferred browser.

As we are able to access the dashboard, we need to find the credentials to login into the dashboard and start using it. For admin login use username as admin and for password run the following command -

kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d

The above command will print a string that can be used as a password to login into the application.

Tada! We have successfully installed Devtron in our local system over the minikube cluster. Feel free to leave your doubts, thoughts in the comment section.

For more detailed information about the installation of Devtron in different infrastructures please refer to the official documentation. After installation, to begin with deployment of your application, please click here.

GitHub logo devtron-labs / devtron

Software Delivery Workflow For Kubernetes

Devtron is an open source software delivery workflow for kubernetes written in go
Explore documentation »

Website · Blog · Join Discord · Twitter

Join Discord Go Report Card License CII Best Practices made-with-Go Website devtron.ai

📖 Menu

💡 Why Devtron?

It is designed as a self-serve platform for operationalizing and maintaining applications (AppOps) on kubernetes in a developer friendly way



🎉 Features

Zero code software delivery workflow
  • Workflow which understands the domain of kubernetes, testing, CD, SecOps so that you dont have to write scripts
  • Reusable and composable components so that workflows are easy to contruct and reason through
Multi cloud deployment
  • Deploy to multiple kubernetes cluster
Easy dev-sec-ops integration
  • Multi level security policy at global, cluster, environment and application for efficient hierarchical policy management
  • Behavior driven security policy
  • Define policies and exception for kubernetes resources
  • Define policies for events for faster resolution
Application debugging dashboard
  • One place…

21