当前位置:网站首页>浅谈Multus CNI
浅谈Multus CNI
2022-07-04 09:32:00 【男孩李】
众所周知,Kubernetes 支持单一网络接口!Kubernetes网络模型的实现,需要借助一些具有独特的多网络特性的网络方法来实现多个网络接口。
您可以将 Multus CNI 视为在 Kubernetes 中实现多网络接口的方法。基本上,Multus CNI 是一个 Kubernetes CNI 插件,可以在 Kubernetes 中创建额外的 pod 网络接口,并借助 Kubernetes 中的 CRD 对象支持多网络功能。Multus 容器网络接口管理 Kubernetes 中的多个容器网络接口。
Multus CNI 的作用:
Multus CNI 是一个开源插件,它通过充当容器网络中的补充层来帮助实现多接口支持。它将多个网络接口附加到 Kubernetes 中的 pod。你可能知道 Kubernetes 默认只有一个网络接口!通过 Multus,可以轻松创建具有多个网络接口的多宿主 Pod。
- Multus CNI 有助于管理容器运行时和插件之间的联系。
- Multus 本身不允许网络配置,它依赖于其他类型的插件。
- 它支持几乎所有类型的参考插件,包括可以实现 CNI 规范的 Flannel。
- 它还支持第三方插件,包括 Weave、Calico、Contiv 和 Cilium。
- 此外,它允许将 DPDK/SRIOV 接口附加到 pod 以支持网络密集型工作负载
Multus CNI 的操作和工作:
Multus 充当其他 CNI 插件的仲裁者。它调用 Flannel、Calico、vHost CNI 或 SR-IOV 来创建网络接口。但是,在配置 Multus 时,应将一个插件标识为主插件来配置和管理 eth0(主网络接口)。
要了解 Multus 的工作原理,深入了解 Kubernetes 网络功能的运作方式至关重要。有两个可用的网络插件,例如 CNI 插件(实现 CNI 规范以提供互操作性)和 Kubelet(使用主机-本地 CNI 插件实现基本桥 cbr0 的主要代理)。
Kubelet 在 Kubernetes 集群中的每个节点上运行。Kubelet 允许将节点注册到 Kubernetes 的控制面板,并为计划在该节点上一个接一个地运行的 Pod 提供有效的生命周期管理。它还为每个 pod 建立网络接口。
Kubelet 使用 Multus CNI 配置文件来设置每个 pod 的网络。在这里,Kubelet 被配置为使用容器网络接口作为其网络插件。Kubelet 在调用它来设置 Pod 时会调用其容器运行时。对于网络配置,Kubelet 为容器运行时提供了一个网络插件包装器(Multus CNI 插件)。
Multus CNI 可以与网络对象、配置文件或文件和对象的组合一起使用。它读取配置并将网络设置任务卸载到其他 CNI 插件,即委托。
关于Multus CNI的安装和使用,可以参考:multus-cni/quickstart.md at master · k8snetworkplumbingwg/multus-cni · GitHub
边栏推荐
- PHP student achievement management system, the database uses mysql, including source code and database SQL files, with the login management function of students and teachers
- 2022-2028 global special starch industry research and trend analysis report
- Svg image quoted from CodeChina
- Launchpad x | mode
- After unplugging the network cable, does the original TCP connection still exist?
- Jianzhi offer 09 realizes queue with two stacks
- 2022-2028 global elastic strain sensor industry research and trend analysis report
- Simulate EF dbcontext with MOQ - mocking EF dbcontext with MOQ
- Review of last week's hot spots (6.27-7.3)
- Report on research and investment prospect prediction of China's electronic grade sulfuric acid industry (2022 Edition)
猜你喜欢
C language - Introduction - Foundation - syntax - [operators, type conversion] (6)
PHP personal album management system source code, realizes album classification and album grouping, as well as album image management. The database adopts Mysql to realize the login and registration f
2022-2028 global probiotics industry research and trend analysis report
自动化的优点有哪些?
Jianzhi offer 09 realizes queue with two stacks
After unplugging the network cable, does the original TCP connection still exist?
法向量点云旋转
AMLOGIC gsensor debugging
Implementation principle of redis string and sorted set
2022-2028 global visual quality analyzer industry research and trend analysis report
随机推荐
LeetCode 74. Search 2D matrix
2022-2028 global small batch batch batch furnace industry research and trend analysis report
Global and Chinese market of wheel hubs 2022-2028: Research Report on technology, participants, trends, market size and share
How should PMP learning ideas be realized?
《网络是怎么样连接的》读书笔记 - FTTH
2022-2028 global intelligent interactive tablet industry research and trend analysis report
Ultimate bug finding method - two points
ASP. Net to access directory files outside the project website
Sort out the power node, Mr. Wang he's SSM integration steps
2022-2028 global special starch industry research and trend analysis report
Markdown syntax
Les différents modèles imbriqués de listview et Pageview avec les conseils de flutter
Lauchpad x | MODE
Review of last week's hot spots (6.27-7.3)
Trim leading or trailing characters from strings- Trim leading or trailing characters from a string?
Write a jison parser from scratch (1/10):jison, not JSON
Flutter 小技巧之 ListView 和 PageView 的各種花式嵌套
Daughter love: frequency spectrum analysis of a piece of music
Opencv environment construction (I)
2022-2028 research and trend analysis report on the global edible essence industry