ingress-nginx-helm/docs/examples/customization/sysctl/README.md
Reinhard Nägele e9c297e74d
Fix names in documentation (#7940)
* Fix names in documentation

This fixes the documentation to reflect the name change from
`nginx-ingress` to `ingress-nginx`.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>

* Revert accidental changelog update

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2021-11-28 13:11:22 -08:00

654 B

Sysctl tuning

This example aims to demonstrate the use of an Init Container to adjust sysctl default values using kubectl patch

kubectl patch deployment -n ingress-nginx ingress-nginx-controller \
    --patch="$(curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/docs/examples/customization/sysctl/patch.json)"

Changes:

  • Backlog Queue setting net.core.somaxconn from 128 to 32768
  • Ephemeral Ports setting net.ipv4.ip_local_port_range from 32768 60999 to 1024 65000

In a post from the NGINX blog, it is possible to see an explanation for the changes.