slight rewording, updated 2.6 version as well

This commit is contained in:
martyav
2023-01-23 13:37:10 -05:00
parent 9e88fed736
commit 06fcf1a0cf
2 changed files with 6 additions and 4 deletions
@@ -5,7 +5,9 @@ description: Ingress configuration
### NGINX Ingress controller changes in Kubernetes v1.21
For Kubernetes v1.21 and up, the NGINX Ingress controller no longer runs in hostNetwork but uses hostPorts for port 80 and port 443. This was done so the admission webhook can be configured to be accessed using ClusterIP so it can only be reached inside the cluster.
For Kubernetes v1.21 and up, the NGINX Ingress controller no longer runs in hostNetwork by default. It instead uses hostPorts for port 80 and port 443, so you can configure the admission webhook to be accessible only through the ClusterIP. This ensures that the webhook is only accessible from within the cluster.
Because of this change to the controller, the default behavior no longer sets `hostNetwork` to `true`. However, you must set `hostNetwork` to `true` for TCP- and UDP-based Services to work.
## Ingress Rule Configuration