首页 > 其他分享 >istio 常见问题解决

istio 常见问题解决

时间:2023-03-02 20:45:47浏览次数:35  
标签:iptables restore 常见问题 modules istio nat 解决

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

 

标签:iptables,restore,常见问题,modules,istio,nat,解决
From: https://www.cnblogs.com/fanqisoft/p/17173326.html

相关文章