kubeasz
kubeasz copied to clipboard
kubeasz 2.2.1 install with cilium failed
Summary Hello,为了测试cilium的特性和性能,我在一台服务器上使用kubeasz来搭建k8s allInOne,并选用了cilium网络插件。 但是发生了安装失败,并且我尝试重装了几次都无法成功。
Decription 我设置了CLUSTER_NETWORK="cilium" 并执行 "ansible-playbook 90.setup.yaml"
在cilium安装过程中,报错cilium运行检测失败。
TASK [cilium : 轮询等待cilium-node 运行,视下载镜像速度而定] *****************************************************************************************************************
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (15 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (14 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (13 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (12 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (11 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (10 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (9 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (8 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (7 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (6 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (5 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (4 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (3 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (2 retries left).
FAILED - RETRYING: 轮询等待cilium-node 运行,视下载镜像速度而定 (1 retries left).
fatal: [172.16.129.193]: FAILED! => {"attempts": 15, "changed": true, "cmd": "/opt/kube/bin/kubectl get pod -n kube-system -o wide|grep 'cilium'|grep ' 172.16.129.193 '|awk '{print $3}'", "delta": "0:00:00.094810", "end": "2020-09-16 11:09:15.342024", "rc": 0, "start": "2020-09-16 11:09:15.247214", "stderr": "", "stderr_lines": [], "stdout": "Completed\nRunning\nContainerCreating", "stdout_lines": ["Completed", "Running", "ContainerCreating"]}
...ignoring
检查pod
cilium event
Warning Unhealthy 7m8s kubelet, 172.16.129.193 Readiness probe failed: KVStore: Failure Err: Not able to connect to any etcd endpoints
cilium显示operator创建ectd失败 查看cilium-etcd-operator
time="2020-09-16T03:13:15Z" level=info msg="Deploying etcd-operator CRD..."
time="2020-09-16T03:13:15Z" level=info msg="Done!"
time="2020-09-16T03:13:15Z" level=info msg="Deploying etcd-operator deployment..."
time="2020-09-16T03:13:15Z" level=error msg="unable to create etcd-operator deployment: the server could not find the requested resource"
time="2020-09-16T03:13:15Z" level=error msg="Error while creating etcd-operator deployment, restarting cilium-etcd-operator..."
报错显示无法获取资源
期待您的回复,如果需要其他信息请联系我。
遇到了相同的问题,现在有解决方案了么?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.