"cni0" already has an IP address different from 问题解决
Posted rongfengliang-荣锋亮
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了"cni0" already has an IP address different from 问题解决相关的知识,希望对你有一定的参考价值。
解决方法
- 删除历史的
ip link set cni0 down
brctl delbr cni0 // 可以通过 yum install bridge-utils 安装
systemctl restart containerd && systemctl restart kubelet // 可选的重启服务
说明
这个和属于已知的问题,可以参考解决
参考资料
https://stackoverflow.com/questions/61373366/networkplugin-cni-failed-to-set-up-pod-xxxxx-network-failed-to-set-bridge-add
https://github.com/kubernetes/kubernetes/issues/39557
Postgresql:prepared statement "S_1" already exists
近期由于业务需要和一些json的存储查询需要,把新的应用切到pgsql上来,刚刚切好,是可以正常使用的,但是偶尔会来一下
Disabling prepared statements in JDBC
The proper way to do it for JDBC is adding prepareThreshold=0
parameter to connect string.
在配置文件上加上
jdbc.url=jdbc:postgresql://xxxxx:6432/finance_log?prepareThreshold=0
再次启动,S_1这样的错误几乎找不到了。OK
附官方说明
https://pgbouncer.github.io/faq.html#what-should-my-serverresetquery-be
https://jdbc.postgresql.org/documentation/head/connect.html
以上是关于"cni0" already has an IP address different from 问题解决的主要内容,如果未能解决你的问题,请参考以下文章
swap file "*.swp" already exists问题解决!!!
Swap file ".hive-site.xml.swp" already exists
/include/caffe/common.cuh: error: function "atomicAdd(double *, double)" has already be(代码
Eclipse报错:Attribute "xmlns" was already specified for element "web-app".
Eclipse中Web项目修改名称后出现Attribute "xmlns" was already specified for element "web-app"