kubesphere / ks-installer

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

Kubesphere HA mode not support the k8s cluster deployed by kubeadm #2281

Open btkinghome opened 5 months ago

btkinghome commented 5 months ago
image

int ks-install project file: roles/ks-core/ks-core/tasks/main.yaml

but the kubeadm will not label the master node as "master", it used the "control-plane" instead "master"

image

so the ks-install HA mode will not work

I use the command "kubectl label node master1.k8s.local node-role.kubernetes.io/master=" to make other label ,then the problem be fixed

I hope the development team can make this compatible, or make an open configuration item here, or make some navigation document for HA deploy