Closed jinwendaiya closed 4 months ago
解决了嘛。我也遇到这个问题
我也遇到这个问题了,你的haproxy有问题。把slb做好,再安装吧
解决了嘛。我也遇到这个问题
配置你的/etc/hosts master的解析,然后清理集群重新做
Hi,this is Lerity 邮件已经收到 辛苦了
我也遇到这个问题了,应该是kubeadm对某些k8s的版本兼容性做的不好导致的,我通过:./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2 -y 重新换一个k8s的版本把问题解决了:https://kubesphere.io/zh/docs/v3.3/quick-start/all-in-one-on-linux/
我也遇到这个问题了,应该是kubeadm对某些k8s的版本兼容性做的不好导致的,我通过:./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2 -y 重新换一个k8s的版本把问题解决了:https://kubesphere.io/zh/docs/v3.3/quick-start/all-in-one-on-linux/
./kk version --show-supported-k8s
What is version of KubeKey has the issue?
v3.1.1"
What is your os environment?
openeuler 22.10LTS
KubeKey config file
A clear and concise description of what happend.
安装出错过程: [kubeconfig] Using kubeconfig folder "/etc/kubernetes" [kubeconfig] Writing "admin.conf" kubeconfig file [kubeconfig] Writing "kubelet.conf" kubeconfig file [kubeconfig] Writing "controller-manager.conf" kubeconfig file [kubeconfig] Writing "scheduler.conf" kubeconfig file [kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env" [kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml" [kubelet-start] Starting the kubelet [control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod manifest for "kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" [control-plane] Creating static Pod manifest for "kube-scheduler" [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s [kubelet-check] Initial timeout of 40s passed.
Unfortunately, an error has occurred: timed out waiting for the condition
This error is likely caused by:
If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
Additionally, a control plane component may have crashed or exited when started by the container runtime. To troubleshoot, list all containers using your preferred container runtimes CLI. Here is one example how you may list all running Kubernetes containers by using crictl:
systemctl status kubelet [root@master ~]# systemctl status kubelet -l ○ kubelet.service - kubelet: The Kubernetes Node Agent Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/kubelet.service.d └─10-kubeadm.conf Active: inactive (dead) since Sat 2024-05-18 13:10:52 CST; 20h ago Docs: http://kubernetes.io/docs/ Process: 25693 ExecStart=/usr/local/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=0/SUCCESS) Main PID: 25693 (code=exited, status=0/SUCCESS) CPU: 2.152s
May 18 13:10:52 master kubelet[25693]: E0518 13:10:52.207042 25693 kubelet.go:2448] "Error getting node" err="node \"master\" not found" May 18 13:10:52 master kubelet[25693]: E0518 13:10:52.258281 25693 eviction_manager.go:256] "Eviction manager: failed to get summary stats" err="failed to get node info: node \"master\" not found" May 18 13:10:52 master kubelet[25693]: E0518 13:10:52.290267 25693 kubelet.go:2373] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network>May 18 13:10:52 master kubelet[25693]: E0518 13:10:52.307719 25693 kubelet.go:2448] "Error getting node" err="node \"master\" not found" May 18 13:10:52 master kubelet[25693]: E0518 13:10:52.408646 25693 kubelet.go:2448] "Error getting node" err="node \"master\" not found" May 18 13:10:52 master kubelet[25693]: I0518 13:10:52.453330 25693 dynamic_cafile_content.go:171] "Shutting down controller" name="client-ca-bundle::/etc/kubernetes/pki/ca.crt" May 18 13:10:52 master systemd[1]: Stopping kubelet: The Kubernetes Node Agent... May 18 13:10:52 master systemd[1]: kubelet.service: Deactivated successfully. May 18 13:10:52 master systemd[1]: Stopped kubelet: The Kubernetes Node Agent. May 18 13:10:52 master systemd[1]: kubelet.service: Consumed 2.152s CPU time.
Relevant log output
Additional information
k8s-1.25.3,
RuntimeName: containerd
RuntimeVersion: v1.7.1