K8s外部网络访问之Ingress
1 简介
本章节详细解释Ingress搭建,证书制作,应用部署,应用测试。其中应用功能:
通过域名和路由即可访问,如访问https://ingress-demo.example.com:30011/,并得到回复
本章节附件资料下载地址 |
---|
链接:https://pan.baidu.com/s/1T0tL3peM1wLMIOdxVpqYAQ?pwd=nt5y |
提取码:nt5y |
2 安装ingress-nginx-controller
2.1 下载ingress部署文件
wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.9.3/deploy/static/provider/cloud/deploy.yaml
ingress-nginx有很多版本,可以根据k8s版本来决定使用ingre