Install using Helm3
To install Helm3, please check Installing Helm3
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
helm repo add devtron https://helm.devtron.ai
2
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd
Copied!
This installation will use AWS s3 buckets for storing build logs and cache
1
helm repo add devtron https://helm.devtron.ai
2
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \
3
--set configs.BLOB_STORAGE_PROVIDER=S3 \
4
--set configs.DEFAULT_CACHE_BUCKET=demo-s3-bucket \
5
--set configs.DEFAULT_CACHE_BUCKET_REGION=us-east-1 \
6
--set configs.DEFAULT_BUILD_LOGS_BUCKET=demo-s3-bucket \
7
--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
helm repo add devtron https://helm.devtron.ai
2
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \
3
--set secrets.AZURE_ACCOUNT_KEY=xxxxxxxxxx \
4
--set configs.BLOB_STORAGE_PROVIDER=AZURE \
5
--set configs.AZURE_ACCOUNT_NAME=test-account \
6
--set configs.AZURE_BLOB_CONTAINER_CI_LOG=ci-log-container \
7
--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
helm repo add devtron https://helm.devtron.ai
2
helm install devtron devtron/devtron-operator --create-namespace --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 Devtron Installer Helm3

1
helm delete devtron --namespace devtroncd
Copied!
Last modified 1mo ago