From 26181ee096329a38c608d0b9a524512327d192dd Mon Sep 17 00:00:00 2001 From: kerthcet Date: Tue, 21 Nov 2023 19:38:53 +0800 Subject: [PATCH] Update README.md Signed-off-by: kerthcet --- README.md | 13 +++++++------ deploy/llmaz/values.yaml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 85d669f..96356ef 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,18 @@ This is mostly driven by several people who has great enthusiasm about AI at spa ### Prerequisites - [Helm](https://helm.sh/) -- [Kind](https://kind.sigs.k8s.io/) (optional) +- [Kind](https://kind.sigs.k8s.io/) ### Install -``` -$ git clone https://github.com/InftyAI/Llmaz.git -$ kind create cluster (ignore this if you already have a Kubernetes cluster) -$ helm install llmaz Llmaz/deploy/llmaz --create-namespace --namespace llmaz --set service.type=NodePort +```shell +git clone https://github.com/InftyAI/Llmaz.git +kind create cluster # ignore this if you already have a Kubernetes cluster +helm install llmaz Llmaz/deploy/llmaz --create-namespace --namespace llmaz +kubectl port-forward svc/llmaz 7860:7860 ``` -**Visit http://localhost:7860 for WebUI**. +*Visit for WebUI* ![webui](./images/webui.jpg) diff --git a/deploy/llmaz/values.yaml b/deploy/llmaz/values.yaml index 4c10999..73f694f 100644 --- a/deploy/llmaz/values.yaml +++ b/deploy/llmaz/values.yaml @@ -38,7 +38,7 @@ securityContext: {} service: type: ClusterIP - port: 80 + port: 7860 ingress: enabled: false