Install Devtron on Minikube, Microk8s, K3s, Kind
You can install and try Devtron on a high-end machine or on a Cloud VM. If you install it on a laptop/PC, it may start to respond slow, so it is recommended to uninstall Devtron from your system before shutting it down.

System Configurations for Devtron Installation

  1. 1.
    2 vCPUs
  2. 2.
    4GB+ of free memory
  3. 3.
    20GB+ free disk space

Before you begin

Before we get started and install Devtron, we need to set up the cluster in our servers & install required tools

Install Devtron on your machine

  1. 1.
    Add Devtron repository
  2. 2.
    Install Devtron
  3. 3.
    Port-forward the devtron-service to access dashboard
Minikube/kind cluster
k3s Cluster
To install devtron on Minikube/kind Cluster use the Following commands
helm repo add devtron https://helm.devtron.ai
helm install devtron devtron/devtron-operator \
--create-namespace --namespace devtroncd \
--set components.devtron.service.type=NodePort
To install devtron on k3s Cluster use the Following commands
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
helm repo add devtron https://helm.devtron.ai
helm install devtron devtron/devtron-operator \
--create-namespace --namespace devtroncd \
--set components.devtron.service.type=NodePort

Devtron dashboard

To access dashboard when using Minikube as Cluster use this command, dashboard will automatically open on default browser.
minikube service devtron-service --namespace devtroncd
To access dashboard when using Kind/k3s as Cluster, use this command to port forward the devtron service to port 8000
kubectl -ndevtroncd port-forward service/devtron-service 8000:80

Devtron Admin credentials

For Devtron version v0.6.0 and higher

Use username:admin and for password run command mentioned below.
$ kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d

For Devtron version less than v0.6.0

Use username:admin and for password run command mentioned below.
kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d

Install Devtron on Cloud VM (AWS ec2, Azure VM, GCP VM)

It is preferd to use Cloud VM with 2vCPU+, 4GB+ free Memory, 20GB+ Storage, Compute Optimized VM type & Ubuntu Flavoured OS.
  1. 1.
    Create Microk8s Cluster
sudo snap install microk8s --classic --channel=1.22
sudo usermod -a -G microk8s $USER
sudo chown -f -R $USER ~/.kube
newgrp microk8s
microk8s enable dns storage helm3
echo "alias kubectl='microk8s kubectl '" >> .bashrc
echo "alias helm='microk8s helm3 '" >> .bashrc
source .bashrc
  1. 1.
    Install devtron
helm repo add devtron https://helm.devtron.ai
helm install devtron devtron/devtron-operator \
--create-namespace --namespace devtroncd \
--set components.devtron.service.type=NodePort
  1. 1.
    Ensure that the port on which the devtron-service runs is open in the VM's security group or network Security group.
Commad to get the devtron-service Port number
kubectl get svc -n devtroncd devtron-service -o jsonpath='{.spec.ports[0].nodePort}'
Export as PDF
Copy link
Outline
Before you begin
Install Devtron on your machine
Devtron dashboard
Devtron Admin credentials
Install Devtron on Cloud VM (AWS ec2, Azure VM, GCP VM)