Open karypi opened 1 month 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?
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.
Is it your kube config in the default location?
Is it your kube config in the default location?
yes
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:
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.