Skip to main content
LocalAI docs > Start here > Install LocalAI

Run with Kubernetes

Install LocalAI on Kubernetes with the Helm chart. LocalAI listens with authentication off, so read Authentication before you expose the service.

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

Edit values.yaml before you install. The chart is maintained in the helm-charts repository and released separately from LocalAI, so its default image can be older than the latest LocalAI release. Check the image tag in its values.yaml and set a newer one if you need it.

To reach the server from your computer, forward its port and check that it answers. Use the service name of your release:

kubectl port-forward svc/<service-name> 8080:8080
curl http://localhost:8080/readyz

Example manifests

You can also apply a plain deployment file from the examples repository. The links follow the main branch, so read the file before you apply it:

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

Next steps