我的 minions 上有以下 kubelet 错误:
Jul 02 16:20:42 sc-minion-1 kubelet[46142]: E0702 16:20:42.899902 46142 manager.go:309] NetworkPlugin cni failed on the status hook for pod 'nginx' - invalid CIDR address: Device "eth0" does not exist.
我在所有节点上的 10-calico.conf 如下所示:
{
"name": "calico-k8s-network",
"type": "calico",
"etcd_authority": "172.1.1.4:6666",
"log_level": "info",
"ipam": {
"type": "calico-ipam"
}
}
我也跑了:calicoctl pool add 192.168.0.0/16 --ipip --nat-outgoing
在所有节点上。