CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

helm deployment problem

Open karypi opened this issue 1 year ago • 5 comments

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.

karypi avatar Oct 16 '24 08:10 karypi

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?

MasonXon avatar Oct 17 '24 02:10 MasonXon

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.

karypi avatar Nov 06 '24 08:11 karypi

Is it your kube config in the default location?

MasonXon avatar Nov 06 '24 12:11 MasonXon

Is it your kube config in the default location?

yes

karypi avatar Nov 07 '24 01:11 karypi

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:

  • https://github.com/OpenCSGs/csghub-installer/blob/main/helm-chart/README.md
  • https://github.com/OpenCSGs/csghub-installer/blob/main/docs/en/helm_chart_installation_detail_en.md

MasonXon avatar Nov 07 '24 01:11 MasonXon

close as no response.

Rader avatar Aug 04 '25 04:08 Rader