2018-04-27 00:09:55 +00:00
|
|
|
{
|
|
|
|
"spec": {
|
|
|
|
"template": {
|
|
|
|
"spec": {
|
|
|
|
"initContainers": [{
|
|
|
|
"name": "sysctl",
|
2024-12-20 17:04:55 +00:00
|
|
|
"image": "alpine:3.21",
|
2018-04-27 00:09:55 +00:00
|
|
|
"securityContext": {
|
|
|
|
"privileged": true
|
|
|
|
},
|
2019-12-02 00:49:40 +00:00
|
|
|
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'"]
|
2018-04-27 00:09:55 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 14:01:45 +00:00
|
|
|
}
|