Update sysctl example (#4800)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-12-01 21:48:00 -03:00 committed by GitHub
parent 46953ccb4d
commit e864fc7198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -4,11 +4,11 @@
"spec": {
"initContainers": [{
"name": "sysctl",
"image": "alpine:3.6",
"image": "alpine:3.10",
"securityContext": {
"privileged": true
},
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range=1024 65535"]
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'"]
}]
}
}