ingress-nginx-helm/examples/customization/sysctl/patch.json

16 lines
318 B
JSON
Raw Normal View History

2018-04-27 00:09:55 +00:00
{
"spec": {
"template": {
"spec": {
"initContainers": [{
"name": "sysctl",
2021-01-15 22:18:11 +00:00
"image": "alpine:3.13",
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
}]
}
}
}
}