|NO.Z.00349|——————————|CloudNative|——|KuberNetes&运维.V65|——|IngressNginx.v01|概述|
一、IngressNginx概述

### --- IngressNginx架构
~~~ # 一般情况下:都是使用域名来访问服务的,不是用IP+端口号来访问服务的
~~~ 用户一般都会写入一个域名访问服务,这个域名就会解析到前端的负载均衡上
~~~ # 这个服务均衡:
~~~ 阿里云:SLB(aliyun负载均衡)到ECS(aliyun成为ECS)上;
~~~ 百度云:ELB(baidu负载均衡)解析到后端
~~~ 可以把服务的域名解析写到服务的外网的负载均衡上(SLB,ELB)再到具体的服务上,
~~~ 知道Ingress的服务器上
~~~ 公司内网使用的可能是F5/LVS/HAProxy之类的
二、Ingress:
### --- Ingress:
~~~ Ingress-nginx:kubernetes官方维护的ingress
~~~ nginx-ingress:nginx官方维护的ingress
~~~ 其它常用的Ingress:Traefik(比较新,配置更加灵敏)、HAProxy、Istio
三、Ingress-nginx:
### --- Ingress-nginx:
~~~ Ingress-nginx:kubernetes官方维护的ingress
~~~ Ingress-nginx的官方文档:https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#rewrite
~~~ Ingress-nginx Github:https://github.com/kubernetes/ingress-nginx
四、nginx-ingress
### --- nginx-ingress
~~~ nginx-ingress:nginx官方维护的ingress
~~~ Nginx-ingress的官方文档:https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/
~~~ Nginx-ingress Github:https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/nginx-ingress-controllers.md
五、Ingress-nginx和Nginx-ingress差别
### --- Ingress-nginx和Nginx-ingress差别
~~~ # Ingress-nginx和Nginx-ingress差别:
~~~ https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/nginx-ingress-controllers.md
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通