mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Fix hook failure in kubernetes-worker charm due to iptables conflict
This commit is contained in:
parent
7efc6c83f0
commit
47f44f58a5
@ -854,7 +854,7 @@ def fix_iptables_for_docker_1_13():
|
||||
https://github.com/kubernetes/kubernetes/issues/40182
|
||||
https://github.com/kubernetes/kubernetes/issues/39823
|
||||
"""
|
||||
cmd = ['iptables', '-P', 'FORWARD', 'ACCEPT']
|
||||
cmd = ['iptables', '-w', '300', '-P', 'FORWARD', 'ACCEPT']
|
||||
check_call(cmd)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user