8000 Update installation doc by kerthcet · Pull Request #149 · InftyAI/llmaz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update installation doc #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,12 @@ helm-install: helm

.PHONY: helm-package
helm-package:
helm package ./chart
# Make sure will alwasy start with a new line.
printf "\n" >> ./chart/values.yaml
cat ./chart/values.global.yaml >> ./chart/values.yaml

helm package ./chart
helm repo index --url https://inftyai.github.io/llmaz --merge index.yaml .

# To recover values.yaml
make helm
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
24 changes: 6 additions & 18 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,33 @@
## Prerequisites

* Kubernetes version >= 1.27
* Helm

## Install a released version

### Install

```cmd
# leaderworkerset runs in lws-system
LWS_VERSION=v0.3.0
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml

# llmaz runs in llmaz-system
LLMAZ_VERSION=v0.0.6
kubectl apply --server-side -f https://github.com/inftyai/llmaz/releases/download/$LLMAZ_VERSION/manifests.yaml
helm repo add inftyai https://inftyai.github.io/llmaz
helm install llmaz inftyai/llmaz --version 0.0.2
```

### Uninstall

```cmd
LWS_VERSION=v0.3.0
kubectl delete -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml

LLMAZ_VERSION=v0.0.6
kubectl delete -f https://github.com/inftyai/llmaz/releases/download/$LLMAZ_VERSION/manifests.yaml
helm uninstall llmaz
```

## Install from source

### Install

```cmd
LWS_VERSION=v0.3.0
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/$LWS_VERSION/manifests.yaml

git clone https://github.com/inftyai/llmaz.git && cd llmaz
IMG=<IMAGE_REPO>:<GIT_TAG> make image-push deploy
make helm-install
```

### Uninstall

```cmd
make undeploy
helm uninstall llmaz
```
Loading
0