Kubernetes service 三种类型/NodePort端口固定 | 您所在的位置:网站首页 › k8s指定nodeport端口 › Kubernetes service 三种类型/NodePort端口固定 |
Kubernetes service 三种类型
• ClusterIP:默认,分配一个集群内部可以访问的虚拟IP(VIP)• NodePort:在每个Node上分配一个端口作为外部访问入口• LoadBalancer:工作在特定的Cloud Provider上,例如Google Cloud,AWS,OpenStack
# Nodeport 用户 -> 域名 负载均衡器(后端服务器) -> Node IP:Port -> Pod IP:Port # LoadBalancer提供特定云提供商底层LB接口。列入AWS,Google,Openstack用户 -> 域名 负载均衡器(后端服务器) -> |
CopyRight 2018-2019 实验室设备网 版权所有 |