mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
Update kubernetes.md
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
fbd14118bf
commit
1bd72a3be5
1 changed files with 14 additions and 13 deletions
|
@ -6,7 +6,20 @@ url = '/basics/kubernetes/'
|
||||||
ico = "rocket_launch"
|
ico = "rocket_launch"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
For installing LocalAI in Kubernetes, you can use the `go-skynet` helm chart:
|
|
||||||
|
For installing LocalAI in Kubernetes, the deployment file from the `examples` can be used and customized as prefered:
|
||||||
|
|
||||||
|
```
|
||||||
|
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI/master/examples/kubernetes/deployment.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
For Nvidia GPUs:
|
||||||
|
|
||||||
|
```
|
||||||
|
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI/master/examples/kubernetes/deployment-nvidia.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, the `go-skynet` helm chart can be used as well:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install the helm repository
|
# Install the helm repository
|
||||||
|
@ -22,15 +35,3 @@ helm show values go-skynet/local-ai > values.yaml
|
||||||
# Install the helm chart
|
# Install the helm chart
|
||||||
helm install local-ai go-skynet/local-ai -f values.yaml
|
helm install local-ai go-skynet/local-ai -f values.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
If you prefer to install from manifest file, you can install from the deployment file, and customize as you like:
|
|
||||||
|
|
||||||
```
|
|
||||||
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI/master/examples/kubernetes/deployment.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
For Nvidia GPUs:
|
|
||||||
|
|
||||||
```
|
|
||||||
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI/master/examples/kubernetes/deployment-nvidia.yaml
|
|
||||||
```
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue