zoukankan      html  css  js  c++  java
  • failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24

    Events:
    Type Reason Age From Message


    Normal Scheduled 15m default-scheduler Successfully assigned default/nginx to 172.16.59.21
    Warning FailedCreatePodSandBox 15m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "bc8b48e16da3b4e09ea7dc79f96c912fe8a217eade387f099cede0e5456d165c": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 14m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "7735cbff1ad07f29e95d462c9e991b8deb2a99cf876235ddbd0c5a13f15ca212": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 14m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6edb2430bcb49613053200ab53ea26c8ef96dda6bfd45b035641e914430b8af0": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 14m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "f43092d2bb1275674de4662bb3bb18ad475914c7eec1b0a4bd268214064c7bae": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 14m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "1666ee56333693942c9af61956416c05847894b088c170d4d5b9c412d5c20e19": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 14m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "9e76ab49612eda245ad8f7e2f0798b4209509b9a23faec85b8ea18c295c8e33d": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 13m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "f9d4183c6abc5fb38635af69d282dc029f7bac8f4bd66d7ac9342861dbb4d186": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 13m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "0a8d1825ccc91c79009e19cc2fa7e2c1af2aeab25f59ec2ac072bda7940f3665": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24
    Warning FailedCreatePodSandBox 13m kubelet, 172.16.59.21 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3e5b8b8b10ebab93f2dcef7a9a4724c92d4999f6cb363af5db4eedd8ddc66ebe": failed to set bridge addr: "cni0" already has an IP address different from 10.244.0.1/24

    ip link set cni0 down && ip link set flannel.1 down
    ip link delete cni0 && ip link delete flannel.1
    systemctl restart containerd && systemctl restart kubelet

    黑洞@heidsoft
    Github:https://github.com/heidsoft
    微博:http://weibo.com/liuganbin
    热衷云计算和大数据
    关注CloudStack,OpenStack,Linux c/c++/python/java
    关注研究新技术
  • 相关阅读:
    Java快速开发框架LML功能菜单管理
    性能测试知多少性能需求分析
    C++学习的方法以及四大名著
    .NET Micro Framework官方库+Controller Area Network
    PostgreSQL学习笔记
    幻风阁|kent.zhu'sBlog对google阅读器共享设计的再讨论
    【数据库事务日志碎片原理分析与方案】分析篇
    Windows 8 RC升级到RTM很顺利
    http://www.cnblogs.com/oneday/archive/2012/08/16/2643039.html
    Visual Studio 2012 Ultimate RTM 体验
  • 原文地址:https://www.cnblogs.com/heidsoft/p/15730674.html
Copyright © 2011-2022 走看看