istio 常见问题解决
1.Command error output: xtables parameter problem: iptables-restore: unable to initialize table 'nat'
Failed to execute: iptables-restore --noflush /tmp/iptables-rules-xxxxxxxxxx, exit status 2
解决参考:https://github.com/istio/istio/issues/23009
https://www.suse.com/support/kb/doc/?id=000020241
解决方案1:
istioctl manifest apply \ --set components.cni.enabled=true \
解决方案2:
centos8及一些红帽系Linux使用iptables-nftables,不能使用iptables
命令查看pod中的规则。istio 通过使用 iptables 添加 nat 规则来拦截流量。Linux 应该启用 netfix linux 内核模块。在所有主机中执行命令以启用。
cat >/etc/modules-load.d/99-istio-modules.conf <<EOF br_netfilter nf_nat nf_nat_redirect xt_REDIRECT xt_owner iptable_nat iptable_mangle iptable_filter EOF
reboot
2.unable to proxy Istiod pods. Make sure your Kubernetes API server has access to the Istio control plane through 8080 port
解决参考:https://github.com/kiali/kiali/issues/4679
似乎 kubelet 依赖于socat
进行端口转发:kubernetes/kubernetes#26093并且 kiali 依赖于端口转发来与 istiod 通信,因此运行 istiod pod 的节点需要安装 socat。
解决方案:
yum install socat -y
作者:奇
出处:https://www.cnblogs.com/fanqisoft/p/17173326.html
版权:本作品采用「本文版权归作者和博客园共有,欢迎转载,但必须给出原文链接,并保留此段声明,否则保留追究法律责任的权利。」许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
2019-03-02 Linux iptables防火墙
2019-03-02 Linux安装MySQL
2019-03-02 Linux安装Tomcat
2019-03-02 Linux安装JDK(rpm)
2019-03-02 Linux安装JDK(tar)
2019-03-02 Linux Shell脚本编程
2019-03-02 使用SSH远程登陆Linux