mirror of https://github.com/kubernetes/kops.git
sysctls.go: Fix some comments
Comment for net.ipv4.tcp_tw_reuse from tcp(7).
This commit is contained in:
parent
b550db283c
commit
ad9448ac40
|
|
@ -70,7 +70,7 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
|
|||
"net.core.rmem_max = 16777216",
|
||||
"",
|
||||
|
||||
"# Default Socket Send Buffer",
|
||||
"# Maximum Socket Send Buffer",
|
||||
"net.core.wmem_max = 16777216",
|
||||
"",
|
||||
|
||||
|
|
@ -87,7 +87,8 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
|
|||
"net.ipv4.tcp_slow_start_after_idle = 0",
|
||||
"",
|
||||
|
||||
"# Increase the tcp-time-wait buckets pool size to prevent simple DOS attacks",
|
||||
"# Allow to reuse TIME_WAIT sockets for new connections",
|
||||
"# when it is safe from protocol viewpoint",
|
||||
"net.ipv4.tcp_tw_reuse = 1",
|
||||
"",
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue