- Enable hostPort for controller
- Disable external controller service
- Add new configuration options for Nginx controller with
allow-snippet-annotations and real-ip handling settings
These changes improve the networking configuration of the Nginx
Ingress controller, enabling better handling of forwarded IP
addresses and ensuring the correct annotations are applied.
It also modifies service accessibility to better fit internal
deployments.
- Add tolerations for restricted scheduling
- Set externalTrafficPolicy to 'Local'
These updates enhance the deployment configuration of the nginx-ingress.
They allow better scheduling of pods on nodes with specific taints and
facilitate the preservation of the client source IP for external
traffic.
- Enable snippet annotations for nginx ingress controller
- Comment out a previous configuration snippet that redirects JPG files
This update allows the use of snippet annotations, giving more control
over ingress configurations. The previously commented snippet
suggested a redirect for JPG files but is now ignored to simplify
configuration and focus on the current requirements.