Fix hook failure in kubernetes-worker charm due to iptables conflict

pull/6/head
George Kraft 2017-10-31 17:05:53 -05:00
parent 7efc6c83f0
commit 47f44f58a5
1 changed files with 1 additions and 1 deletions

View File

@ -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)