Run with Kubernetes
Install LocalAI on Kubernetes with the Helm chart. LocalAI listens with authentication off, so read Authentication before you expose the service.
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:
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:
For NVIDIA GPUs:
Next steps
- For several nodes with a shared database, see Distributed mode.
- For GPU images, see GPU acceleration.