当前位置:网站首页>Y53. Chapter III kubernetes from introduction to mastery -- ingress (26)
Y53. Chapter III kubernetes from introduction to mastery -- ingress (26)
2022-07-01 23:23:00 【Raymond999999】
10.ingres Use cases
10.1 Kubernetes service Several types
# kubectl explain service.spec.type
ClusterIP: The default type , be used for k8s Internal service access , That is, through internal service ip Realize the access between services ,service IP Can only be accessed internally , Cannot access... From outside .
NodePort: stay cluster IP Based on , Through in each node The node listens to a host port that can be specified (nodePort) To expose the service , Thus allowing external client visit k8s Services in the cluster ,nodePort Put the outside client Forward your request to service To deal with .
LoadBalancer: Mainly in public clouds such as Alibaba cloud 、AWS Upper use ,LoadBalancer Builds on the nodePort On the basis of , The load balancer provided by the public cloud service provider will k8s The services in the cluster are exposed to those outside the cluster client visit .
ExternalName: Is used to k8s Services outside the cluster are mapped to k8s Cluster internal access , So as to make pod Can pass through fixed service name Access services outside the cluster , Sometimes it is also used to make different namespace Between pod adopt ExternalName Visit .
Service If it is cluster Type then from clusterIP To pod The default is TCP agreement ,TCP Support MySQL、Redis And other specific services , And then there is UDP and SCTP agreement .
Kubernetes Several ways to expose Services :
NodePort
cluster
边栏推荐
- Matplotlib常用设置
- MySQL -- convert rownum in Oracle to MySQL
- window安装wsl(二)
- Commemorate becoming the first dayus200 tripartite demo contributor
- 【小程序】通过scroll-view组件实现左右【滑动】列表
- Win 10 mstsc connect RemoteApp
- mysql binlog的清理
- rviz打开后如何显示实时2D地图
- Stm32f030f4 drives tim1637 nixie tube chip
- 【微服务|Sentinel】sentinel整合openfeign
猜你喜欢

MySQL binlog cleanup

Matplotlib常用图表

Istio、eBPF 和 RSocket Broker:深入研究服务网格
![Jielizhi Bluetooth headset quality control and production skills [chapter]](/img/3e/571d246d211a979e948dae1de56e93.png)
Jielizhi Bluetooth headset quality control and production skills [chapter]
![Jielizhi Bluetooth headset quality control and production skills [chapter]](/img/ad/28e7461f8c5dc5c54a3f4da0c111ac.png)
Jielizhi Bluetooth headset quality control and production skills [chapter]

马赛克后挡板是什么?

AirServer最新Win64位个人版投屏软件

The online beggar function of Japanese shopping websites

Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?

软件架构的本质
随机推荐
MySQL binlog cleanup
mysql binlog的清理
物联网应用技术专业是属于什么类
You probably haven't noticed the very important testing strategy in your work
Glass mosaic
神经网络物联网的发展趋势和未来方向
Redis数据类型和应用场景
Which securities company is better and which is safer to open a securities account
Jielizhi Bluetooth headset quality control and production skills [chapter]
玻璃马赛克
Behind sharing e-commerce: the spirit of CO creation, symbiosis, sharing, CO prosperity and win-win
Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?
众昂矿业:发展以氟化工为主的特色化工产业具有先天优势
Commemorate becoming the first dayus200 tripartite demo contributor
What category does the Internet of things application technology major belong to
Practical application and extension of plain framework
[micro service sentinel] sentinelresourceaspect details
RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
2022年R1快开门式压力容器操作考题及答案
Daily three questions 6.30