k3s/pkg/util
Kubernetes Submit Queue 59cee2c73c
Merge pull request #54763 from rajatchopra/iptables_wait
Automatic merge from submit-queue (batch tested with PRs 54533, 54777, 54763, 54806, 54703). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

make iptables wait flag generic and tune it to 5 seconds

Excerpt from [bug](https://bugzilla.redhat.com/show_bug.cgi?id=1506396) opened by @eparis 

> iptables-restore has a 2s wait timeout. Data collected today shows that even with a much faster kernel we can reasonably expect iptables-restore to take upwards of 2.4 seconds. (with unpatched/released RHEL kernel this can easily take 7-8 second)

> longest runs I saw over about 30 minutes were:
> 2.267244
> 2.284707
> 2.291535
> 2.376457

> If we get 2 iptables restores going at the same time, with a 2s timeout it is very likely the second will fail.

> I'd like to suggest a 5s timeout. It should still bound the number of thread we may be waiting on and increases the reliability that a common situation will be automatically resolved without failing up the stack.
2017-10-30 17:38:19 -07:00
..
async update BUILD files 2017-10-15 18:18:13 -07:00
bandwidth update BUILD files 2017-10-15 18:18:13 -07:00
config update BUILD files 2017-10-15 18:18:13 -07:00
configz update BUILD files 2017-10-15 18:18:13 -07:00
dbus Merge pull request #53731 from smarterclayton/dbus_races 2017-10-26 13:24:30 -07:00
ebtables update BUILD files 2017-10-15 18:18:13 -07:00
env update BUILD files 2017-10-15 18:18:13 -07:00
file Adding unit tests to methods of file's util 2017-10-24 08:26:58 +08:00
filesystem update BUILD files 2017-10-15 18:18:13 -07:00
flock update BUILD files 2017-10-15 18:18:13 -07:00
goroutinemap update BUILD files 2017-10-15 18:18:13 -07:00
hash update BUILD files 2017-10-15 18:18:13 -07:00
initsystem update BUILD files 2017-10-15 18:18:13 -07:00
interrupt update BUILD files 2017-10-15 18:18:13 -07:00
io update BUILD files 2017-10-15 18:18:13 -07:00
ipconfig update BUILD files 2017-10-15 18:18:13 -07:00
iptables make iptables wait flag generic; increase the max wait time from 2 seconds to 5 seconds 2017-10-30 14:22:25 -04:00
ipvs update BUILD files 2017-10-15 18:18:13 -07:00
keymutex update BUILD files 2017-10-15 18:18:13 -07:00
labels update BUILD files 2017-10-15 18:18:13 -07:00
limitwriter update BUILD files 2017-10-15 18:18:13 -07:00
maps update BUILD files 2017-10-15 18:18:13 -07:00
metrics update BUILD files 2017-10-15 18:18:13 -07:00
mount Merge pull request #52401 from andyzhangx/azuredisk-getdevfunc 2017-10-27 20:28:36 -07:00
net update BUILD files 2017-10-15 18:18:13 -07:00
netsh Adding unit tests to methods of netsh 2017-10-26 11:18:09 +08:00
node use core client with explicit version globally 2017-10-27 15:48:32 +08:00
nsenter update BUILD files 2017-10-15 18:18:13 -07:00
oom update BUILD files 2017-10-15 18:18:13 -07:00
parsers update BUILD files 2017-10-15 18:18:13 -07:00
pointer update BUILD files 2017-10-15 18:18:13 -07:00
procfs update BUILD files 2017-10-15 18:18:13 -07:00
reflector/prometheus update BUILD files 2017-10-15 18:18:13 -07:00
removeall update BUILD files 2017-10-15 18:18:13 -07:00
resourcecontainer update BUILD files 2017-10-15 18:18:13 -07:00
rlimit update BUILD files 2017-10-15 18:18:13 -07:00
selinux update BUILD files 2017-10-15 18:18:13 -07:00
slice update BUILD files 2017-10-15 18:18:13 -07:00
strings update BUILD files 2017-10-15 18:18:13 -07:00
sysctl update BUILD files 2017-10-15 18:18:13 -07:00
system update BUILD files 2017-10-15 18:18:13 -07:00
tail update BUILD files 2017-10-15 18:18:13 -07:00
taints Added unit test cases for the public methods of pkg/util/taints.go 2017-10-25 13:51:14 +08:00
template update BUILD files 2017-10-15 18:18:13 -07:00
term update BUILD files 2017-10-15 18:18:13 -07:00
threading update BUILD files 2017-10-15 18:18:13 -07:00
tolerations update BUILD files 2017-10-15 18:18:13 -07:00
version update BUILD files 2017-10-15 18:18:13 -07:00
workqueue/prometheus update BUILD files 2017-10-15 18:18:13 -07:00
BUILD auto-gen 2017-09-26 09:57:13 +08:00
verify-util-pkg.sh verify pkg/util contains no code 2017-08-17 15:28:27 +08:00