Helm Installation (Beta)
Deploy DeepSource Enterprise Server on Kubernetes using helm.
Prerequisites
Before proceeding, ensure you have the following prerequisites in place:
- Create two K8s node groups (for application & analysis workloads) and label the nodes in the node groups (eg:
workload: deepsource-application
&workload: deepsource-analysis
) - Create two namespaces
deepsource
-kubectl create ns deepsource
atlas-jobs
-kubectl create ns atlas-jobs
- Create an external database using the following guide: https://docs.deepsource.com/docs/enterprise-server-configuration#bring-your-own-database
- Obtain the registry username and password by reaching out to [email protected]
- Make sure to use at least helm v3.8.0, prior versions require
HELM_EXPERIMENTAL_OCI=1
environment variable to be set.
Installation
Login to the registry using the obtained credentials
helm registry login registry.replicated.com --username <username> —password <password>
Pull the helm chart
helm pull oci://registry.replicated.com/deepsource-fowl/experimental/deepsource
Extract the helm chart and edit the values.yaml
tar -xvzf deepsource-*.tar.gz
cd deepsource
vim values.yaml
Install DeepSource Enterprise Server
helm install deepsource —n deepsource .
Upgrade
To upgrade DeepSource Enterprise Server you can use thehelm upgrade
command
helm upgrade deepsource -f <path-to-values.yaml> -n deepsource oci://registry.replicated.com/deepsource-fowl/experimental/deepsource
Notes
- For using Bitbucket with DeepSource edit the
asgard.licenseFields.customerName
in values.yaml OR set the value using--set asgard.licenseFields.customerName=<customer-name>
- To generate random passwords and keys for fields with the value
xxxxx
, you can use Python (python3 -c "import secrets; print(secrets.token_hex(20))"
) or shell (date | md5
)
Contact [email protected] if you face any issues during the installing or upgrading process.
Updated 2 months ago