2018-02-12 23:14:11 +00:00
|
|
|
{
|
|
|
|
"spec": {
|
|
|
|
"template": {
|
|
|
|
"spec": {
|
|
|
|
"initContainers": [{
|
|
|
|
"name": "sysctl",
|
2024-09-07 18:51:20 +00:00
|
|
|
"image": "alpine:3.20",
|
2018-02-12 23:14:11 +00:00
|
|
|
"securityContext": {
|
|
|
|
"privileged": true
|
|
|
|
},
|
2019-12-02 00:48:00 +00:00
|
|
|
"command": ["sh", "-c", "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'"]
|
2018-02-12 23:14:11 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 13:57:46 +00:00
|
|
|
}
|