解决报错Jun 06 20:46:21 master-171 kubelet[6727]: Flag --network-plugin has been deprecated, will be removed along with dockershim. Jun 06 20:46:21 master-171 kubelet[6727]: Flag --network-plugin has been deprecated, will be removed along with dockershim. Jun 06 20:46:22 master-171 kubelet[6727]: I0606 20:46:22.006070 6727 server.go:440] "Kubelet version" kubeletVersion="v1.21.0" Jun 06 20:46:22 master-171 kubelet[6727]: I0606 20:46:22.006851 6727 server.go:851] "Client rotation is on, will bootstrap in background" Jun 06 20:46:22 master-171 k
时间: 2024-02-06 20:01:59 浏览: 471
已经安装了html-webpack-plugin,还是报错:Error: Cannot find module ‘html-webpack-plugin’
这个报错是因为 `--network-plugin` 参数已经被弃用,并且将会在 dockershim 被移除时一起移除。建议使用 `--network-plugin=cni` 参数来替代。
同时,这个报错并不会影响 Kubernetes 的正常运行。如果你想要消除这个报错,可以在 kubelet 的启动参数中去掉 `--network-plugin` 参数,或者将其替换为 `--network-plugin=cni` 参数。
阅读全文