From 353bc469ba3cf71bfcdf4744c9351290fdd1a2d3 Mon Sep 17 00:00:00 2001 From: Dolpher Du Date: Fri, 10 Jan 2025 09:20:23 +0000 Subject: [PATCH] Add tts/webretriever usvc helm deployment Signed-off-by: Dolpher Du --- comps/tts/deployment/kubernetes/README.md | 11 +++++++++++ comps/tts/deployment/kubernetes/cpu-values.yaml | 5 +++++ comps/web_retrievers/deployment/kubernetes/README.md | 11 +++++++++++ .../deployment/kubernetes/cpu-values.yaml | 5 +++++ 4 files changed, 32 insertions(+) create mode 100644 comps/tts/deployment/kubernetes/README.md create mode 100644 comps/tts/deployment/kubernetes/cpu-values.yaml create mode 100644 comps/web_retrievers/deployment/kubernetes/README.md create mode 100644 comps/web_retrievers/deployment/kubernetes/cpu-values.yaml diff --git a/comps/tts/deployment/kubernetes/README.md b/comps/tts/deployment/kubernetes/README.md new file mode 100644 index 0000000000..af1bcb05a3 --- /dev/null +++ b/comps/tts/deployment/kubernetes/README.md @@ -0,0 +1,11 @@ +# Deploy tts microservice on Kubernetes cluster + +- You should have Helm (version >= 3.15) installed. Refer to the [Helm Installation Guide](https://helm.sh/docs/intro/install/) for more information. +- For more deployment options, refer to [helm charts README](https://github.com/opea-project/GenAIInfra/tree/main/helm-charts#readme). + +## Deploy on Kubernetes + +``` +export HFTOKEN="insert-your-huggingface-token-here" +helm install tts oci://ghcr.io/opea-project/charts/tts --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f cpu-values.yaml +``` diff --git a/comps/tts/deployment/kubernetes/cpu-values.yaml b/comps/tts/deployment/kubernetes/cpu-values.yaml new file mode 100644 index 0000000000..c735ab48ab --- /dev/null +++ b/comps/tts/deployment/kubernetes/cpu-values.yaml @@ -0,0 +1,5 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +speecht5: + enabled: true diff --git a/comps/web_retrievers/deployment/kubernetes/README.md b/comps/web_retrievers/deployment/kubernetes/README.md new file mode 100644 index 0000000000..c361509fe8 --- /dev/null +++ b/comps/web_retrievers/deployment/kubernetes/README.md @@ -0,0 +1,11 @@ +# Deploy web-retriever microservice on Kubernetes cluster + +- You should have Helm (version >= 3.15) installed. Refer to the [Helm Installation Guide](https://helm.sh/docs/intro/install/) for more information. +- For more deployment options, refer to [helm charts README](https://github.com/opea-project/GenAIInfra/tree/main/helm-charts#readme). + +## Deploy on Kubernetes + +``` +export HFTOKEN="insert-your-huggingface-token-here" +helm install web-retriever oci://ghcr.io/opea-project/charts/web-retriever --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f cpu-values.yaml +``` diff --git a/comps/web_retrievers/deployment/kubernetes/cpu-values.yaml b/comps/web_retrievers/deployment/kubernetes/cpu-values.yaml new file mode 100644 index 0000000000..e2d62ff26f --- /dev/null +++ b/comps/web_retrievers/deployment/kubernetes/cpu-values.yaml @@ -0,0 +1,5 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +tei: + enabled: true