From 1bd72a3be5d6efb65a6be47e072c6ce79f46c20e Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 22 Jun 2024 12:16:27 +0200 Subject: [PATCH] Update kubernetes.md Signed-off-by: Ettore Di Giacinto --- .../docs/getting-started/kubernetes.md | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/docs/content/docs/getting-started/kubernetes.md b/docs/content/docs/getting-started/kubernetes.md index 06087eea..b9ce4646 100644 --- a/docs/content/docs/getting-started/kubernetes.md +++ b/docs/content/docs/getting-started/kubernetes.md @@ -6,7 +6,20 @@ url = '/basics/kubernetes/' 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 # Install the helm repository @@ -22,15 +35,3 @@ helm show values go-skynet/local-ai > values.yaml # Install the helm chart 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 -```