gpt4 book ai didi

kubernetes - 创建Pod沙箱失败: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod network

转载 作者:行者123 更新时间:2023-12-01 00:17:33 43 4
gpt4 key购买 nike

在k8s(v1.10)集群上发布Redis POD创建,并且POD创建停留在“ContainerCreating”上

Type     Reason                  Age                   From                Message
---- ------ ---- ---- -------
Normal Scheduled 30m default-scheduler Successfully assigned redis to k8snode02
Normal SuccessfulMountVolume 30m kubelet, k8snode02 MountVolume.SetUp succeeded for volume "default-token-f8tcg"
Warning FailedCreatePodSandBox 5m (x1202 over 30m) kubelet, k8snode02 Failed create pod sandbox: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "redis_default" network: failed to find plugin "loopback" in path [/opt/loopback/bin /opt/cni/bin]
Normal SandboxChanged 47s (x1459 over 30m) kubelet, k8snode02 Pod sandbox changed, it will be killed and re-created.

最佳答案

确保/etc/cni/net.d及其/opt/cni/bin friend 都存在,并且已在所有节点上正确地填充了CNI配置文件和二进制文件。对于绒布,可能会使用flannel cni repo

关于kubernetes - 创建Pod沙箱失败: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod network,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51169728/

43 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com