Create parameter for disabling aio_write #10368
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
In certain situations (like when enabling cache on the Ingress Nginx instance) it would be beneficial to have an option to disable aio_write in the Nginx configuration. I've stumbled upon an issue with stalled cache files that do not get updated until you restart Nginx (https://trac.nginx.org/nginx/ticket/2162), and the recommended workaround was to disable aio_write.
Unfortunately, to achieve this right now, it is necessary to customize the Nginx configuration template. Being just a feature flag, it would be easier if the Nginx Ingress Controller had an option to disable it.
ingress-nginx/rootfs/etc/nginx/template/nginx.tmpl
Line 299 in a687343
The text was updated successfully, but these errors were encountered: