Skip to content

matrixji/incubator-devlake-helm-chart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Incubator DevLake Helm Chart

Thanks to @matrixji who initiated all content in apache/incubator-devlake, this repo is copied from directory deployment/helm in repo apache/incubator-devlake! Also thanks to @lshmouse, @shubham-cmyk and @SnowMoon-Dev for the contribution for devlake helm deployment.

Install

To install the chart with release name devlake:

helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
helm repo update
helm install devlake devlake/devlake --version=0.17.0-beta5

If you are using minikube inside your mac, please use the following command to forward the port:

kubectl port-forward service/devlake-ui  30090:4000

and open another terminal:

kubectl port-forward service/devlake-grafana  30091:3000

Then you can visit: config-ui by url http://YOUR-NODE-IP:30090 grafana by url http://YOUR-NODE-IP:30091

Update

helm repo update
helm upgrade --install devlake devlake/devlake --version=0.17.0-beta5

Uninstall

To uninstall/delete the devlake release:

helm uninstall devlake

Original pr in apache/incubator-devlake

https://github.com/apache/incubator-devlake/pulls?q=is%3Apr+helm+is%3Aclosed

How to upgrade helm chart after releasing new devlake images

  1. In values.yaml, change {{ imageTag }} to current image tag
  2. In chart.yaml, change {{ version }}, {{ appVersion }} to current image tag
  3. If we want to release a new chart without new release of devlake, we should increase both chart version and image tag.
    • For example, right now both versions are 0.16.1-beta1, if we make change on chart, we should set chart-version to 0.16.1-beta1, also, we need to crate new images for devlake with tag 0.16.1-beta1
  4. If we release any new image for devlake, we just need to set a new version for chart.

Original pr in apache/incubator-devlake

https://github.com/apache/incubator-devlake/pulls?q=is%3Apr+helm+is%3Aclosed

More

You could find more examples and details in HelmSetup.md