Connectivity
Changed
- Disable HPA and PDB for xs clusters since NGINX Deployment resource requests are not set there. (#40)
Changed
- Adjust resource requests, HPA and PDB depending on determined cluster profile; supported cluster profiles include xxs, xs, small, and larger than small or unknown. (#38)
By default, for nginx on:
- xxs clusters - clear resource requests, HPA and PDB are disabled
- xs clusters - clear resource requests, enabled HPA and PDB
- small clusters - have some resource requests, HPA and PDB are enabled
- clusters larger than small or unknown - have decent resource requests i.e. capacity out-of-the-box, and HPA and PDB are enabled.
Changed
- Reintroduced config properties which should have been just deprecated but got dropped prematurely in v1.4.0 (#36)
configmap.annotations-prefixconfigmap.default-ssl-certificateconfigmap.hpa-enabledconfigmap.hpa-max-replicasconfigmap.hpa-min-replicasconfigmap.hpa-target-cpu-utilization-percentageconfigmap.hpa-target-memory-utilization-percentageconfigmap.ingress-class
Changed
- Disable HPA, PDB and clear resource requests for extra small clusters. (#34)
Added
- Add Pod Disruption Budget.
Added
- Allow custom forward configuration destination and options.
Changed
- Upgrade to nginx-ingress-controller 0.30.0. (#31)
- Configured app icon. (#32)
- Enabled HorizontalPodAutoscaler by default. (#27)
- Based on HPA trials done so far, following settings have been adjusted to better fit actual observed usage profiles:
- CPU resource requests have been adjusted from 500m to 2 CPU
- 0.5 CPU was not enough for all the processes NGINX Ingress Controller starts
- Memory requests changed from 600Mi to 2.5GB
- Scaling out does not shard Ingress definitions and other configurations stored in memory of every nginx-ingress-controller replica
- Memory usage spikes during configuration reloads
- It improves the HPA stability
- Default number of nginx worker processes was changed from 4 to 1
- This reduced memory usage of each replica
- It didn’t affect request handling capacity
- Better defaults considering CPU requests and number of processes running on every nginx-ingress-controller replica.
- To avoid cluster-operator and HPA collision and nginx service disruption, this release also breaks with cluster-operator controllable nginx ingress controller Deployment replicas count
ingressController.replicas which was previously dynamically set by cluster-operator is now removed- New
controller.replicaCount config property is introduced, default replica count is set to 1, and then by default enabled HPA takes it over from there, by default scaling the Deployment in range of 1 to 20 replicas - If HPA gets disabled on-demand, replica count will stay static if not manually or automatically changed by some third party.
Added
- Add
autopath variable in the values file to make possible to configure or disable the plugin.