16 lines
321 B
JSON
16 lines
321 B
JSON
{
|
|
"spec": {
|
|
"template": {
|
|
"spec": {
|
|
"initContainers": [{
|
|
"name": "sysctl",
|
|
"image": "alpine:3.16.0",
|
|
"securityContext": {
|
|
"privileged": true
|
|
},
|
|
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'"]
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
}
|