Remove initContainer from default deployment (#2077)
This commit is contained in:
parent
98213efee3
commit
80462ecdad
4 changed files with 25 additions and 20 deletions
16
docs/examples/customization/sysctl/patch.json
Normal file
16
docs/examples/customization/sysctl/patch.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"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"]
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue