当前位置:网站首页>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
边栏推荐
- 攻防演习防御体系构建之第三篇之建立实战化的安全体系
- 91. (cesium chapter) cesium rocket launch simulation
- Notes on problems - /usr/bin/perl is needed by mysql-server-5.1.73-1 glibc23.x86_ sixty-four
- mysql binlog的清理
- Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?
- Jielizhi, production line assembly link [chapter]
- Use 3DMAX to make a chess piece
- 物联网技术应用属于什么专业分类
- y53.第三章 Kubernetes从入门到精通 -- ingress(二六)
- 数字峰会人气火爆,城链科技引发新一轮商业变革
猜你喜欢

91. (cesium chapter) cesium rocket launch simulation
![Jerry's burning of upper version materials requires [chapter]](/img/65/fcd804e00dc08a2bd056e8e6493829.png)
Jerry's burning of upper version materials requires [chapter]

Detailed explanation of twenty common software testing methods (the most complete in History)

什么是马赛克?

What is the mosaic tailgate?
![[applet] realize the left and right [sliding] list through the scroll view component](/img/18/b1b4e9923782856143721dad84cbab.png)
[applet] realize the left and right [sliding] list through the scroll view component

神经网络物联网的发展趋势和未来方向

from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘

建模和影视后期有什么关联?

Redis data types and application scenarios
随机推荐
Daily three questions 6.30
[MySQL] database optimization method
众昂矿业:发展以氟化工为主的特色化工产业具有先天优势
想请教股票开户要认识谁?在线开户是安全么?
plain framework的实际应用和扩展
Yoga27 multidimensional all-in-one computer with excellent appearance and high-end configuration
Copy ‘XXXX‘ to effectively final temp variable
Leetcode(34)——在排序数组中查找元素的第一个和最后一个位置
What category does the Internet of things application technology major belong to
[MySQL] index creation, viewing and deletion
CKS CKA ckad change terminal to remote desktop
[micro service sentinel] sentinel integrates openfeign
2022 safety officer-c certificate examination question simulation examination question bank and simulation examination
CADD课程学习(3)-- 靶点药物相互作用
What is the mosaic tailgate?
数字化转型道阻且长,如何迈好关键的第一步
Win 10 mstsc connect RemoteApp
每日三题 6.28
共享电商的背后: 共创、共生、共享、共富,共赢的共富精神
Use 3DMAX to make a chess piece