Failed to get node ip address matching nodeport cidr: no addresses found for cidrs [172.16.19.0/24]
2023-09-27 14:26:01 时间
k8s 集群定义的 nodeport 无法生效,netstat 查看没有对应的端口监听
查看 kube-proxy 的日志,发现
猜测,地址已经用完,临时解决办法:
修改 kube-proxy 配置
kubectl edit cm kube-proxy -n kube-system
# 把 nodePortAddresses 地址增加
nodePortAddresses: ["172.16.0.0/16"]
# 删除 kube-proxy pod 生效
该集群是使用 kubeadm 生成的,猜测需要在 kubeadm 中指定 nodePortAddresses 的地址范围
相关文章
- Failed to load resource: the server responded with a status of 404 (Not Found) favicon.ico文件找不到
- fatal: Authentication failed for又不弹出用户名和密码 解决办法
- android studio 打包发布 Cause: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
- Error: Electron failed to install correctly, please delete node_modules/electron and try installing
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10 编译安装包 安装万金油
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Command "python setup.py egg_info" failed with error code 1
- 解决PKIX path building failed
- 启动mysql,爆出错误:Job for mysqld.service failed because the control process exited with error code.
- java.net.SocketException:Software caused connection abort: recv failed 异常分析 +socket客户端&服务端代码
- failed to bind properties under
- Exception: Gradle build failed to produce an .apk file. It‘s likely that this file was generated und
- {已经解决}android java.net.BindException: bind failed: EADDRINUSE (Address already in use)
- Error:Execution failed for task :app:transformClassesWithInstantRunForDebug解决方案
- Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER已解决
- svn-clearup 报错的处理(Cleanup failed to process the following paths...)