Ingress-Nginx github地址:https://github.com/kubernetes/ingress-nginx
Ingress-Nginx官方网站: https://kubernetes.github.io/ingress-nginx/
部署:https://kubernetes.github.io/ingress-nginx/deploy/
部署:https://kubernetes.github.io/ingress-nginx/deploy/
部署时最好先把yaml文件中的镜像下载到本地
例子:
deployment:
SVC:
Ingress:
执行多个ingress配置会将这些配置注入到ingress容器中去。而不是运行多个ingress容器
ingress使用NodePort模式
使用查看SVC方法查看ingress
Ingress可以配置https和BasicAuth认证 链接