kubernetes errors
October 13, 2022

Ошибка error syncing masquerade rules

Появляется в логах у пода ip-masq-agent.

Посмотреть можно так:

kubectl logs ip-masq-agent-tnjsh -n kube-system

E0916 04:33:12.300534       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0917 05:16:03.014639       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0917 18:42:30.597317       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0917 18:51:30.942852       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0918 05:50:53.426947       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0918 07:21:56.392298       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed
)
E0918 18:45:20.687353       1 ip-masq-agent.go:157] error syncing masquerade rules: exit status 1 (iptables-restore: line 6 failed

Ошибка хорошо видна.

Лечится удалением пода. После удаления пода ошибка уходит.