当前位置:网站首页>Kubernetes 通信异常网络故障 解决思路
Kubernetes 通信异常网络故障 解决思路
2022-07-03 20:24:00 【富士康质检员张全蛋】
在k8s当中最重要的就是网络,如果网络不可用,那么集群就相当于报废状态,
网络故障原因
Kubernetes中的网络是非常重要的,整个k8s集群的通通信需要依赖网络插件,如calico、flannel、canel等,通信都是通过网络插件实现的,kubernetes之上的网通信过程最常见的故障如下∶(calico可以为pod分配ip地址,calico相对于flannel来说还可以配置网络策略)
通信主要有如下几种∶
- Pod自身网络故障
- Pod和Pod通信故障(同一个节点上面pod通信和跨节点的pod通信)
Pod和物理节点通信故障(pod访问不通物理节点IP或者物理节点去ping pod的ip是ping不通的)
- 容器间的通信
同一个pod内的多个容器间的通信,lo,通过本地的回环网卡lo进行通信
- pod通信
从一个pod lp 到另一个pod Ip
- Pod与service 外部通信通信
pod ip到cluster ip
- 外部通信
Service与集群外部客户端的通信,如果使用service实现4层负载均衡,想在集群外访问service关联的pod,需要将service变为nodeport类型,这样才可以在集群外部通过主机IP和宿主机暴露的端口去访问service内部的这个应用。
边栏推荐
- Micro service knowledge sorting - cache technology
- How to improve data security by renting servers in Hong Kong
- thrift go
- [effective Objective-C] - block and grand central distribution
- Global and Chinese markets of lithium chloride 2022-2028: Research Report on technology, participants, trends, market size and share
- Deep search DFS + wide search BFS + traversal of trees and graphs + topological sequence (template article acwing)
- Rad+xray vulnerability scanning tool
- Global and Chinese market of high temperature Silver sintering paste 2022-2028: Research Report on technology, participants, trends, market size and share
- Initialization and instantiation
- 2022 low voltage electrician examination and low voltage electrician simulation examination question bank
猜你喜欢

Preliminary practice of niuke.com (11)

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

19、 MySQL -- SQL statements and queries

2.3 other data types

Change deepin to Alibaba image source

2.4 conversion of different data types

浅议.NET遗留应用改造

强化学习-学习笔记1 | 基础概念

Machine learning support vector machine SVM

Recommendation of books related to strong foundation program mathematics
随机推荐
Derivation of decision tree theory
P5.js development - setting
2.4 conversion of different data types
Example of peanut shell inner net penetration
FAQs for datawhale learning!
【c】 Digital bomb
Camera calibration (I): robot hand eye calibration
Global and Chinese market of two in one notebook computers 2022-2028: Research Report on technology, participants, trends, market size and share
Test access criteria
Popularize the basics of IP routing
MySQL 8.0 data backup and recovery
Initialization and instantiation
Micro service knowledge sorting - three pieces of micro Service Technology
2.5 conversion of different data types (2)
Gauss elimination solves linear equations (floating-point Gauss elimination template)
In 2021, the global foam protection packaging revenue was about $5286.7 million, and it is expected to reach $6615 million in 2028
Pytorch sets the weight and bias of the model to zero
The 15 year old interviewer will teach you four unique skills that you must pass the interview
About callback function and hook function
Global and Chinese markets of lithium chloride 2022-2028: Research Report on technology, participants, trends, market size and share