OpenCSGs / csghub

CSGHub is an open-source large model platform just like on-premise version of Hugging Face. You can easily manage models and datasets, deploy model applications and setup model finetune or inference jobs with user interface. CSGHub also provides Python SDK with full compatibility of hf sdk. Join us together to build a safer and more open platform⭐️
https://opencsg.com
2.96k stars 457 forks source link

helm deployment problem #721

Open karypi opened 3 weeks ago

karypi commented 3 weeks ago

When I try to quickly install using Helm in my Kubernetes cluster with the command: curl -sfL https://raw.githubusercontent.com/OpenCSGs/csghub-installer/refs/heads/main/helm-chart/install.sh | bash -s --

I encounter the following error message: W1012 14:28:51.972853 2108534 loader.go:222] Config not found: /etc/rancher/k3s/k3s.yaml E1012 14:28:51.973546 2108534 memcache.go:238] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused E1012 14:28:51.973958 2108534 memcache.go:238] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused E1012 14:28:51.975442 2108534 memcache.go:238] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused E1012 14:28:51.976834 2108534 memcache.go:238] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused E1012 14:28:51.978164 2108534 memcache.go:238] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused The connection to the server localhost:8080 was refused - did you specify the right host or port? [2024-10-12 14:28:51] [WARN] K3S cluster is not ready yet. Attempt 10/10. [2024-10-12 14:29:01] [ERRO] K3S cluster is not up after 10 attempts. [2024-10-12 14:29:01] [ERRO] Failed to verify K3S cluster status.

MasonXon commented 3 weeks ago

If you can post your complete command and output here. It seems the script attept to install k3s cluster, is it kubernetes already exists yourself?

karypi commented 1 day ago

If you can post your complete command and output here. It seems the script attept to install k3s cluster, is it kubernetes already exists yourself?

Yes, the kubernetes cluster already exists.

MasonXon commented 1 day ago

Is it your kube config in the default location?

karypi commented 1 day ago

Is it your kube config in the default location?

yes

MasonXon commented 1 day ago

You can retry with curl -sfL https://raw.githubusercontent.com/OpenCSGs/csghub-installer/refs/heads/main/helm-chart/install.sh | ENABLE_K3S=false bash -s -- <domain> more defails: