kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
530 stars 744 forks source link

Fresh install failed #1879

Open saeeeedm opened 2 years ago

saeeeedm commented 2 years ago

Hi I wanted to install KubeSphere in a fresh environment with 3 nodes, I try to do it the simplest way just to understand how it works. But during the deployment of KubeSphre inside of Kubernetes, I got this error, and installation has failed. Any advice?

Collecting installation results ... Failed to ansible-playbook ks-config.yaml E0104 18:37:50.247321 1 reflector.go:284] pkg/mod/k8s.io/client-go@v0.0.0-20190411052641-7a6b4715b709/tools/cache/reflector.go:99: Failed to watch *unstructured.Unstructured: Get "https://10.233.0.1:443/apis/installer.kubesphere.io/v1alpha1/namespaces/kubesphere-system/clusterconfigurations?fieldSelector=metadata.name%3Dks-installer&resourceVersion=2547&timeoutSeconds=499&watch=true": dial tcp 10.233.0.1:443: connect: connection refused

pixiake commented 2 years ago

It seems that it is impossible to connect to kube-apiserver. Is there firewall or security group between nodes? Does the node have enough cpu and memory?