Remove initContainer from default deployment (#2077)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-02-12 15:14:11 -08:00 committed by GitHub
parent 98213efee3
commit 80462ecdad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 20 deletions

View file

@ -0,0 +1,16 @@
{
"spec": {
"template": {
"spec": {
"initContainers": [{
"name": "sysctl",
"image": "alpine:3.6",
"securityContext": {
"privileged": true
},
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range=1024 65535"]
}]
}
}
}
}