[k8s エラー解決シリーズ] ポッド内のカール クラスター SVC の IP に到達できません

ポッド内のカール クラスター SVC の IP に到達できません

クラスター情報

k8s 1.24.4
キャリコネットワーク: 3.24.1

現象

ポッド内のカール クラスター ポッドの IP は接続されていますが、
ポッド内のカール クラスター SVC の IP は利用できません。

解決

解決策を提供します。

iptables ルールに問題がある可能性があります。すべての iptables ルールをクリアし、kube-proxy を再起動して、iptables ルールを再生成してください。

iptables -t nat -F
iptables -t filter -F
iptables -t mangle -F
iptables -t raw -F

おすすめ

転載: blog.csdn.net/weixin_42072280/article/details/128224119