当前位置:网站首页>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
- JS - use of arguments
- 91. (cesium chapter) cesium rocket launch simulation
- 上海炒股开户选择手机办理安全吗?
- Typescript enumeration
- y53.第三章 Kubernetes从入门到精通 -- ingress(二六)
- OpenVINO 模型性能评估工具—DL Workbench
- CKS CKA ckad change terminal to remote desktop
- Jerry's burning of upper version materials requires [chapter]
- 每日三题 6.30
猜你喜欢
Wechat personal small store one click opening assistant applet development
2022安全员-C证考试题模拟考试题库及模拟考试
[kotlin third party] coil koltin collaboration picture loading library coil glide like picture loading third party
物联网技术应用属于什么专业分类
What category does the Internet of things application technology major belong to
window安装wsl(二)
Paramètres communs de matplotlib
CKS CKA ckad change terminal to remote desktop
问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
Win 10 mstsc connect RemoteApp
随机推荐
AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
想请教股票开户要认识谁?在线开户是安全么?
Experience of practical learning of Silicon Valley products
Jielizhi, production line assembly link [chapter]
from pip._ internal. cli. main import main ModuleNotFoundError: No module named ‘pip‘
Rank ranking with MySQL 5.7
SWT/ANR问题--SWT 导致 low memory killer(LMK)
Yoga27 multidimensional all-in-one computer with excellent appearance and high-end configuration
mysql binlog的清理
MT manager test skiing Adventure
Summary of "performance testing" of software testing, novice will know the knowledge points on the road
Istio, ebpf and rsocket Broker: in depth study of service grid
Openresty load balancing
Understanding threads
Convergence and disposal suggestions of some Internet exposure surfaces
2022 safety officer-c certificate examination question simulation examination question bank and simulation examination
微服务服务稳定性治理
flutter Unable to load asset: assets/images/888. png
会声会影2022智能、快速、简单的视频剪辑软件
CADD课程学习(3)-- 靶点药物相互作用