Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apache/incubator-devlake-helm-chart
Apache DevLake Helm Chart
https://github.com/apache/incubator-devlake-helm-chart
chart devlake helm k8s kubernetes
Last synced: 4 days ago
JSON representation
Apache DevLake Helm Chart
- Host: GitHub
- URL: https://github.com/apache/incubator-devlake-helm-chart
- Owner: apache
- License: apache-2.0
- Created: 2022-10-25T08:36:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T02:19:02.000Z (10 days ago)
- Last Synced: 2024-09-25T15:47:45.613Z (8 days ago)
- Topics: chart, devlake, helm, k8s, kubernetes
- Language: Smarty
- Homepage: https://devlake.apache.org/
- Size: 692 KB
- Stars: 32
- Watchers: 16
- Forks: 45
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
1. Install the latest stable version with release name `devlake`
```shell
helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
helm repo update
ENCRYPTION_SECRET=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
helm install devlake devlake/devlake --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
```2. Install the latest development version with release name `devlake`:
```shell
helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
helm repo update
ENCRYPTION_SECRET=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
helm install devlake devlake/devlake --version=1.0.1 --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
```If you are using minikube inside your mac, please use the following command to forward the port:
```shell
kubectl port-forward service/devlake-ui 30090:4000
```and open another terminal:
```shell
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`## Upgrade
**Note:**
**If you're upgrading from DevLake v0.17.x or earlier versions to v0.18.x or later versions:**
1. Copy the ENCODE_KEY value from /app/config/.env of the lake pod (e.g. devlake-lake-0), and replace the in the upgrade command below.
2. You may encounter the below error when upgrading because the built-in grafana has been replaced by the official grafana dependency. So you may need to delete the grafana deployment first.
> Error: UPGRADE FAILED: cannot patch "devlake-grafana" with kind Deployment: Deployment.apps "devlake-grafana" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake", "app.kubernetes.io/name":"grafana"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
```shell
helm repo update
helm upgrade devlake devlake/devlake --version=1.0.1 --set lake.encryptionSecret.secret=
```**If you're upgrading from DevLake v0.18.x or later versions:**
```shell
helm repo update
helm upgrade devlake devlake/devlake --version=1.0.1
```## Uninstall
To uninstall/delete the `devlake` release:
```shell
helm uninstall devlake
```## 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](HelmSetup.md)