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

版权:本作品采用「本文版权归作者和博客园共有,欢迎转载,但必须给出原文链接,并保留此段声明,否则保留追究法律责任的权利。」许可协议进行许可。

posted @   SpringCore  阅读(1186)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源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
more_horiz
keyboard_arrow_up light_mode palette
选择主题
点击右上角即可分享
微信分享提示