Skip to content

Commit 6f75fd0

Browse files
Merge pull request #149 from kerthcet/cleanup/support-release-helm
Update installation doc
2 parents 7eb35b8 + 82099ef commit 6f75fd0

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,12 @@ helm-install: helm
304304

305305
.PHONY: helm-package
306306
helm-package:
307-
helm package ./chart
307+
# Make sure will alwasy start with a new line.
308+
printf "\n" >> ./chart/values.yaml
309+
cat ./chart/values.global.yaml >> ./chart/values.yaml
310+
311+
helm package ./chart
312+
helm repo index --url https://inftyai.github.io/llmaz --merge index.yaml .
313+
314+
# To recover values.yaml
315+
make helm

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.0.1
16+
version: 0.0.2
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

docs/installation.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,33 @@
33
## Prerequisites
44

55
* Kubernetes version >= 1.27
6+
* Helm
67

78
## Install a released version
89

910
### Install
1011

1112
```cmd
12-
# leaderworkerset runs in lws-system
13-
LWS_VERSION=v0.3.0
14-
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml
15-
16-
# llmaz runs in llmaz-system
17-
LLMAZ_VERSION=v0.0.6
18-
kubectl apply --server-side -f https://github.com/inftyai/llmaz/releases/download/$LLMAZ_VERSION/manifests.yaml
13+
helm repo add inftyai https://inftyai.github.io/llmaz
14+
helm install llmaz inftyai/llmaz --version 0.0.2
1915
```
2016

2117
### Uninstall
2218

2319
```cmd
24-
LWS_VERSION=v0.3.0
25-
kubectl delete -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml
26-
27-
LLMAZ_VERSION=v0.0.6
28-
kubectl delete -f https://github.com/inftyai/llmaz/releases/download/$LLMAZ_VERSION/manifests.yaml
20+
helm uninstall llmaz
2921
```
3022

3123
## Install from source
3224

3325
### Install
3426

3527
```cmd
36-
LWS_VERSION=v0.3.0
37-
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml
38-
39-
git clone https://github.com/inftyai/llmaz.git && cd llmaz
40-
IMG=<IMAGE_REPO>:<GIT_TAG> make image-push deploy
28+
make helm-install
4129
```
4230

4331
### Uninstall
4432

4533
```cmd
46-
make undeploy
34+
helm uninstall llmaz
4735
```

0 commit comments

Comments
 (0)