当前位置:网站首页>浅谈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
边栏推荐
- Research Report on research and investment prospects of China's testing machine industry (2022 Edition)
- PHP book borrowing management system, with complete functions, supports user foreground management and background management, and supports the latest version of PHP 7 x. Database mysql
- 2022-2028 global seeder industry research and trend analysis report
- Flutter tips: various fancy nesting of listview and pageview
- About the for range traversal operation in channel in golang
- Les différents modèles imbriqués de listview et Pageview avec les conseils de flutter
- [on February 11, 2022, the latest and most fully available script library collection of the whole network, a total of 23]
- Go context 基本介绍
- HMS core helps baby bus show high-quality children's digital content to global developers
- 2022-2028 global gasket metal plate heat exchanger industry research and trend analysis report
猜你喜欢
Markdown syntax
C language - Introduction - Foundation - syntax - [variable, constant light, scope] (V)
Nurse level JDEC addition, deletion, modification and inspection exercise
2022-2028 global probiotics industry research and trend analysis report
C language - Introduction - Foundation - syntax - [operators, type conversion] (6)
2022-2028 research and trend analysis report on the global edible essence industry
2022-2028 global visual quality analyzer industry research and trend analysis report
Mantis creates users without password options
Latex download installation record
PHP book borrowing management system, with complete functions, supports user foreground management and background management, and supports the latest version of PHP 7 x. Database mysql
随机推荐
mmclassification 标注文件生成
C language - Introduction - Foundation - syntax - [identifier, keyword, semicolon, space, comment, input and output] (III)
How to batch change file extensions in win10
Target detection -- intensive reading of yolov3 paper
Global and Chinese markets of thrombography hemostasis analyzer (TEG) 2022-2028: Research Report on technology, participants, trends, market size and share
Report on the development trend and prospect trend of high purity zinc antimonide market in the world and China Ⓕ 2022 ~ 2027
Global and Chinese markets for laser assisted liposuction (LAL) devices 2022-2028: Research Report on technology, participants, trends, market size and share
Flutter tips: various fancy nesting of listview and pageview
2022-2028 global small batch batch batch furnace industry research and trend analysis report
Multilingual Wikipedia website source code development part II
Write a jison parser from scratch (3/10): a good beginning is half the success -- "politics" (Aristotle)
el-table单选并隐藏全选框
Sword finger offer 30 contains the stack of Min function
In depth research and investment strategy report on China's hydraulic parts industry (2022 Edition)
165 webmaster online toolbox website source code / hare online tool system v2.2.7 Chinese version
Global and Chinese trisodium bicarbonate operation mode and future development forecast report Ⓢ 2022 ~ 2027
Solution to null JSON after serialization in golang
Jianzhi offer 09 realizes queue with two stacks
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
Latex download installation record