在aws中使用负载均衡器dns和端口的kubeadm创建kubernetes群集时出错

在aws中使用负载均衡器dns和端口的kubeadm创建kubernetes群集时出错,kubernetes,kubeadm,aws-load-balancer,Kubernetes,Kubeadm,Aws Load Balancer,我正在尝试为以下步骤创建高可用性集群 创建了Ec2实例并将其添加到loadbalancer 通过使用loadbalancer端口和ip,我给出了以下命令 sudo kubeadm init --control-plane-endpoint "LOAD_BALANCER_DNS:LOAD_BALANCER_PORT" --upload-certs 但未创建主节点 获取此错误 Unfortunately, an error has occurred: timed out waiting f

我正在尝试为以下步骤创建高可用性集群 创建了Ec2实例并将其添加到loadbalancer 通过使用loadbalancer端口和ip,我给出了以下命令

sudo kubeadm init --control-plane-endpoint "LOAD_BALANCER_DNS:LOAD_BALANCER_PORT" --upload-certs
但未创建主节点 获取此错误

Unfortunately, an error has occurred:
    timed out waiting for the condition

This error is likely caused by:
    - The kubelet is not running
    - The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
    - 'systemctl status kubelet'
    - 'journalctl -xeu kubelet'

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, e.g. docker.
Here is one example how you may list all Kubernetes containers running in docker:
    - 'docker ps -a | grep kube | grep -v pause'
    Once you have found the failing container, you can inspect its logs with:
    - 'docker logs CONTAINERID'
error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster
To see the stack trace of this error execute with --v=5 or higher
当我给出
systemctl状态kubelet
我正在获取ip未找到错误


是否有人可以帮助

在详细模式下运行kubeadm init-v 10创建此群集时,您是否遵循了任何特定的指南?您是否满足了基于以下方面的所有要求:?以前这是可行的,但现在它引发了异常