当前位置:网站首页>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
边栏推荐
- Glass mosaic
- CKS CKA CKAD 将终端更改为远程桌面
- Understanding threads
- [kotlin third party] coil koltin collaboration picture loading library coil glide like picture loading third party
- 想请教股票开户要认识谁?在线开户是安全么?
- Advanced skills of testers: a guide to the application of unit test reports
- 玻璃马赛克
- 实在RPA:银行数字化,业务流程自动化“一小步”,贷款审核效率“一大步”
- Istio, ebpf and rsocket Broker: in depth study of service grid
- rviz打开后如何显示实时2D地图
猜你喜欢
[applet] realize the left and right [sliding] list through the scroll view component
[MySQL] basic use of explain and the function of each column
云信小课堂 | IM及音视频中常见的认知误区
OpenVINO 模型性能评估工具—DL Workbench
神经网络物联网的未来趋势与发展
Huisheng Huiying 2022 intelligent, fast and simple video editing software
Glass mosaic
from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘
2022 R1 fast opening pressure vessel operation test questions and answers
会声会影2022智能、快速、简单的视频剪辑软件
随机推荐
云信小课堂 | IM及音视频中常见的认知误区
Practical application and extension of plain framework
Jerry's burning of upper version materials requires [chapter]
Some abilities can't be learned from work. Look at this article, more than 90% of peers
认识--Matplotlib
Wechat personal small store one click opening assistant applet development
Daily three questions 6.29
openresty 负载均衡
mysql binlog的清理
Detailed explanation of twenty common software testing methods (the most complete in History)
SWT / anr problem - SWT causes kernel fuse deadlock
URL 介绍
内存泄露和内存溢出的区别是什么?
MySQL -- convert rownum in Oracle to MySQL
物联网应用技术专业是属于什么类
CADD课程学习(3)-- 靶点药物相互作用
Istio, ebpf and rsocket Broker: in depth study of service grid
软件架构的本质
from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘
YOGA27多维一体电脑,兼具出色外观与高端配置