mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-31 09:42:45 -05:00
* docs Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Small enhancements Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Enhancements * Default to zen-dark Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * fixups Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
32 lines
817 B
Markdown
32 lines
817 B
Markdown
+++
|
|
disableToc = false
|
|
title = "Run with Kubernetes"
|
|
weight = 6
|
|
url = '/basics/kubernetes/'
|
|
ico = "rocket_launch"
|
|
+++
|
|
|
|
|
|
For installing LocalAI in Kubernetes, the deployment file from the `examples` can be used and customized as preferred:
|
|
|
|
```
|
|
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI-examples/refs/heads/main/kubernetes/deployment.yaml
|
|
```
|
|
|
|
For Nvidia GPUs:
|
|
|
|
```
|
|
kubectl apply -f https://raw.githubusercontent.com/mudler/LocalAI-examples/refs/heads/main/kubernetes/deployment-nvidia.yaml
|
|
```
|
|
|
|
Alternatively, the [helm chart](https://github.com/go-skynet/helm-charts) can be used as well:
|
|
|
|
```bash
|
|
helm repo add go-skynet https://go-skynet.github.io/helm-charts/
|
|
helm repo update
|
|
helm show values go-skynet/local-ai > values.yaml
|
|
|
|
|
|
helm install local-ai go-skynet/local-ai -f values.yaml
|
|
```
|