Is it impossible to register yatai-deployment if I change the namespace of yatai-system?
restato opened this issue · 1 comments
restato commented
When registering yatai-deployment
to yatai
, the following error occurs.
1.6762487165919104e+09 ERROR registerYataiComponent {"func": "registerYataiComponent", "error": "DoJsonRequest Error: [POST]http://yatai.yatai-system.svc.cluster.local/api/v1/clusters/default/ yatai_components: Post \"http://yatai.yatai-system.svc.cluster.local/api/v1/clusters/default/yatai_components\": dial tcp: lookup yatai.yatai-system.svc.cluster.local
The URL contains the value of yatai-system namespace. Is it possible to change yatai-system
to yatai-system-beta
?
http://yatai.yatai-system.svc.cluster.local/api/v1/clusters/default/ yatai_components
http://yatai.yatai-system-beta.svc.cluster.local/api/v1/clusters/default/ yatai_components
yetone commented
Hello, you should set this value to the correct value: https://github.com/bentoml/yatai-image-builder/blob/main/helm/yatai-image-builder/values.yaml#L75
--set yatai.endpoint=xxx