Closed eero-t closed 2 months ago
This seems to be a bug in the script, not in the Helm charts?
When I generate manifests directly with helm template chatqna chatqna --skip-tests ...
things match, both ENDPOINT variables and actual service names are prefixed with chatqna-
.
The generated manifest files from ./update_manifests.sh are for GMC USE ONLY. I wouldn't suggest to use them directly. If you want to deploy each component microservice separately, please use helm charts under helm-charts/common
directly.
@eero-t you're absolutely right. The devil is in the ./update_manifests.sh. We'll discuss with GMC folks in next cycle to see if we can make the generated manifest files usable for other users
I see. "Generate manifests from Helm Charts" section in the directory README only talks about looking into update_manifests.sh
, not about using it... :-)
Btw. the table in that README has has wrong link name ("Code generation") for chatqna
.
Fixes in README to avoid confusion
This is for today's HEAD of
GENAIInfra
.Use-case:
cd helm-charts; ./update_manifests.sh
cd ../microservices-connector/config/manifests/; grep ENDPOINT *.yaml
kubectl get svc
Expected outcome:
Actual outcome:
TGI_LLM_ENDPOINT
variable value inllm-uservice.yaml
manifest ishttp://llm-uservice-tgi
instead of actualhttp://tgi
(.default.svc.cluster.local
)