ingress-nginx 的目标是构造配置文件(nginx.conf),主要用途是在配置文件有任何变更后都需要重新加载 NGINX。不过需要特别注意的是,在只有 upstream 配置变更的时候我们不需要重新加载 Nginx(即当你部署的应用 Endpoints 变更时)。我们使用 lua-nginx-module 达到这个目的
https://github.com/kubernetes/ingress-nginx/ Name-based vs. IP-based Virtual Hosts IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. With name-based virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP address. https://blog.csdn.net/u010620626/article/details/46054713 https://kubernetes.io/docs/concepts/services-networking/ingress/ Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.
https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md