当前位置:网站首页>Kubernetes abnormal communication network fault solution ideas
Kubernetes abnormal communication network fault solution ideas
2022-07-03 20:38:00 【Zhang quandan, Foxconn quality inspector】
stay k8s The most important thing is the network , If the network is not available , Then the cluster is equivalent to the scrap state ,
Cause of network failure
Kubernetes The network in is very important , Whole k8s The communication of the cluster depends on the network plug-in , Such as calico、flannel、canel etc. , Communication is achieved through network plug-ins ,kubernetes The most common faults in the network communication process above are as follows ∶(calico It can be for pod Distribute ip Address ,calico be relative to flannel You can also configure network policies )
Communication mainly includes the following ∶
- Pod Own network failure
- Pod and Pod Communication failure ( On the same node pod Communication and cross node pod signal communication )
Pod Communication failure with physical node (pod Unable to access physical nodes IP Or physical nodes ping pod Of ip yes ping It doesn't work )
- Communication between containers
The same pod Communication between multiple containers inside ,lo, Through the local loopback network card lo communicate
- pod signal communication
From a pod lp To another pod Ip
- Pod And service External communication
pod ip To cluster ip
- External communication
Service Communication with clients outside the cluster , If you use service Realization 4 Layer load balancing , Want to access outside the cluster service The associated pod, Need to put service Turn into nodeport type , Only in this way can the host be used outside the cluster IP Access with the exposed port of the host service Internal application .
边栏推荐
- Virtual machine installation deepin system
- Cesiumjs 2022 ^ source code interpretation [7] - Analysis of the request and loading process of 3dfiles
- SQL injection - Fundamentals of SQL database operation
- 9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
- Do you really know how old you are?
- 【c】 Digital bomb
- 1.5 learn to find mistakes first
- Strange way of expressing integers (expanding Chinese remainder theorem)
- 2022 low voltage electrician examination and low voltage electrician simulation examination question bank
- Basic command of IP address configuration ---ip V4
猜你喜欢
Shortest path problem of graph theory (acwing template)
Sparse matrix (triple) creation, transpose, traversal, addition, subtraction, multiplication. C implementation
Popularize the basics of IP routing
《ActBERT》百度&悉尼科技大学提出ActBERT,学习全局局部视频文本表示,在五个视频-文本任务中有效!...
How to do Taobao full screen rotation code? Taobao rotation tmall full screen rotation code
In 2021, the global foam protection packaging revenue was about $5286.7 million, and it is expected to reach $6615 million in 2028
In 2021, the global revenue of thick film resistors was about $1537.3 million, and it is expected to reach $2118.7 million in 2028
2.7 format output of values
44. Concurrent programming theory
19、 MySQL -- SQL statements and queries
随机推荐
2.5 conversion of different data types (2)
Test access criteria
1.5 learn to find mistakes first
Sightseeing - statistics of the number of shortest paths + state transfer + secondary small paths
Sparse matrix (triple) creation, transpose, traversal, addition, subtraction, multiplication. C implementation
2.2 integer
Upgrade PIP and install Libraries
thrift go
First knowledge of database
Use nodejs+express+mongodb to complete the data persistence project (with modified source code)
阻塞非阻塞和同步异步的区分 参考一些书籍
浅议.NET遗留应用改造
Do you really know how old you are?
MySQL 8.0 data backup and recovery
18、 MySQL -- index
Wireless network (preprocessing + concurrent search)
47. Process lock & process pool & Collaboration
如临现场的视觉感染力,NBA决赛直播还能这样看?
Sword finger offer 30 Stack containing min function
Etcd 基于Raft的一致性保证