Skip to content

Commit b236943

Browse files
Merge pull request #154 from kerthcet/cleanup/support-release-helm
Update installation doc
2 parents 07b34b8 + 0092993 commit b236943

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ helm: manifests kustomize helmify
300300

301301
.PHONY: helm-install
302302
helm-install: helm
303-
helm upgrade --install llmaz ./chart --namespace llmaz-system -f ./chart/values.global.yaml
303+
helm upgrade --install llmaz ./chart --namespace llmaz-system --create-namespace -f ./chart/values.global.yaml
304304

305305
.PHONY: helm-package
306306
helm-package:

docs/installation.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,55 @@
33
## Prerequisites
44

55
* Kubernetes version >= 1.27
6-
* Helm
6+
* Helm 3
77

88
## Install a released version
99

1010
### Install
1111

1212
```cmd
1313
helm repo add inftyai https://inftyai.github.io/llmaz
14-
helm install llmaz inftyai/llmaz --version 0.0.2
14+
helm repo update
15+
helm install llmaz inftyai/llmaz --namespace llmaz-system --create-namespace --version 0.0.2
1516
```
1617

1718
### Uninstall
1819

1920
```cmd
2021
helm uninstall llmaz
22+
kubectl delete ns llmaz-system
23+
```
24+
25+
If you want to delete the CRDs as well, run (ignore the error)
26+
```cmd
27+
kubectl delete crd \
28+
openmodels.llmaz.io \
29+
backendruntimes.inference.llmaz.io \
30+
playgrounds.inference.llmaz.io \
31+
services.inference.llmaz.io
2132
```
2233

2334
## Install from source
2435

2536
### Install
2637

2738
```cmd
39+
git clone https://github.com/inftyai/llmaz.git && cd llmaz
2840
make helm-install
2941
```
3042

3143
### Uninstall
3244

3345
```cmd
3446
helm uninstall llmaz
47+
kubectl delete ns llmaz-system
48+
```
49+
50+
If you want to delete the CRDs as well, run (ignore the error)
51+
```cmd
52+
kubectl delete crd \
53+
openmodels.llmaz.io \
54+
backendruntimes.inference.llmaz.io \
55+
playgrounds.inference.llmaz.io \
56+
services.inference.llmaz.io
3557
```

0 commit comments

Comments
 (0)