Install using Helm2
To install Helm2, please check Installing Helm2 Make sure you have Installed tiller using helm init
Install with default configurations
Install with AWS S3 Buckets
Install with Azure Blob Storage
This installation will use Minio for storing build logs and cache.
1
kubectl create namespace devtroncd
2
kubectl apply -f https://raw.githubusercontent.com/devtron-labs/devtron/main/manifests/crds/crd-devtron.yaml
3
helm repo add devtron https://helm.devtron.ai
4
helm install devtron devtron/devtron-operator --namespace devtroncd --set installer.source=gitee
Copied!
This installation will use AWS s3 buckets for storing build logs and cache
1
kubectl create namespace devtroncd
2
kubectl apply -f https://raw.githubusercontent.com/devtron-labs/devtron/main/manifests/crds/crd-devtron.yaml
3
helm repo add devtron https://helm.devtron.ai
4
helm install devtron devtron/devtron-operator --namespace devtroncd \
5
--set configs.BLOB_STORAGE_PROVIDER=S3 \
6
--set configs.DEFAULT_CACHE_BUCKET=demo-s3-bucket \
7
--set configs.DEFAULT_CACHE_BUCKET_REGION=us-east-1 \
8
--set configs.DEFAULT_BUILD_LOGS_BUCKET=demo-s3-bucket \
9
--set configs.DEFAULT_CD_LOGS_BUCKET_REGION=us-east-1
Copied!
This installation will use Azure Blob Storage for storing build logs and cache
1
kubectl create namespace devtroncd
2
kubectl apply -f https://raw.githubusercontent.com/devtron-labs/devtron/main/manifests/crds/crd-devtron.yaml
3
helm repo add devtron https://helm.devtron.ai
4
helm install devtron devtron/devtron-operator --namespace devtroncd \
5
--set configs.BLOB_STORAGE_PROVIDER=AZURE \
6
--set configs.AZURE_ACCOUNT_NAME=test-account \
7
--set configs.AZURE_BLOB_CONTAINER_CI_LOG=ci-log-container \
8
--set configs.AZURE_BLOB_CONTAINER_CI_CACHE=ci-cache-container
Copied!
For those countries/users where Github is blocked , you can use Gitee as the installation source.
Install with Gitee
1
kubectl create namespace devtroncd
2
3
kubectl apply -f https://gitee.com/devtron-labs/devtron/raw/main/manifests/crds/crd-devtron.yaml
4
5
helm install devtron devtron/devtron-operator --namespace devtroncd --set installer.source=gitee
Copied!
If you are planning to use Devtron for production deployments, please refer to our recommended overrides for Devtron Installation.

Installation status

Run following command
1
kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.status}'
Copied!
The install commands initiates Devtron-operator which spins up all the Devtron micro-services one by one in about 20 mins. You can use the above command to check the status of the installation if the installation is still in progress, it will print Downloaded. When the installation is complete, it prints Applied.

Access Devtron dashboard

If you did not provide a BASE_URL during install or have used the default installation, Devtron creates a loadbalancer for you on its own. Use the following command to get the dashboard url.
1
kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}'
Copied!
You will get result something like below
1
[[email protected] ~]$ kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}'
2
[map[hostname:aaff16e9760594a92afa0140dbfd99f7-305259315.us-east-1.elb.amazonaws.com]]
Copied!
The hostname mentioned here ( aaff16e9760594a92afa0140dbfd99f7-305259315.us-east-1.elb.amazonaws.com ) is the Loadbalancer URL where you can access the Devtron dashboard.
PS: You can also do a CNAME entry corresponding to your domain/subdomain to point to this Loadbalancer URL to access it at a custom domain.
Host
Type
Points to
devtron.yourdomain.com
CNAME
aaff16e9760594a92afa0140dbfd99f7-305259315.us-east-1.elb.amazonaws.com

Devtron Admin credentials

For admin login use username:admin and for password run the following command.
1
kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d
Copied!

Cleaning Installer Helm2

1
helm delete devtron --purge
2
#Deleting CRDs manually
3
kubectl delete -f https://raw.githubusercontent.com/devtron-labs/devtron-installation-script/main/charts/devtron/crds/crd-devtron.yaml
Copied!
Last modified 1mo ago