16 lines
No EOL
315 B
JSON
16 lines
No EOL
315 B
JSON
{
|
|
"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"]
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
} |