Apache License 2.0

项目介绍

k8snetworkplumbingwg/multus-cni 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 Apache License 2.0 许可证,目前获得 3.0k 个 Star、683 次 Fork。

仓库全名
k8snetworkplumbingwg/multus-cni
开源许可证
Apache License 2.0
Star 数
3.0k
Fork 数
683
未关闭 Issue
32

README 摘要

Multus-CNI Multus CNI enables attaching multiple network interfaces to pods in Kubernetes. How it works Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods. Typically, in Kubernetes each pod only has one network interface (apart from a loopback) -- with Multus you can create a multi-homed pod that has multiple interfaces. This is…

完整内容见 GitHub 原始 README 或本页 。

常见问题

multus-cni 用什么语言开发?

主要使用 Go 编写,采用 Apache License 2.0 许可证,目前有 3.0k 个 Star。

multus-cni 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 multus-cni 的源码?

可以直接克隆仓库:git clone https://github.com/k8snetworkplumbingwg/multus-cni.git,默认分支为 master;安装与运行步骤见仓库 README。

multus-cni 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 32 个未关闭 Issue;Star 数为 3.0k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A CNI meta-plugin for multi-homed pods in Kubernetes

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
4397
价值分
1990
活跃状态
活跃

语言占比

Dockerfile
Go
Jinja
Makefile
Python
Shell

Release

README

Multus-CNI

multus-cni Logo

BuildTestGo Report CardCoverage Status

Multus CNI enables attaching multiple network interfaces to pods in Kubernetes.

How it works

Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods. Typically, in Kubernetes each pod only has one network interface (apart from a loopback) – with Multus you can create a multi-homed pod that has multiple interfaces. This is accomplished by Multus acting as a “meta-plugin”, a CNI plugin that can call multiple other CNI plugins.

Multus CNI follows the Kubernetes Network Custom Resource Definition De-facto Standard to provide a standardized method by which to specify the configurations for additional network interfaces. This standard is put forward by the Kubernetes Network Plumbing Working Group.

Multus is one of the projects in the Baremetal Container Experience kit

Multi-Homed pod

Here’s an illustration of the network interfaces attached to a pod, as provisioned by Multus CNI. The diagram shows the pod with three interfaces: eth0, net0 and net1. eth0 connects kubernetes cluster network to connect with kubernetes server/services (e.g. kubernetes api-server, kubelet and so on). net0 and net1 are additional network attachments and connect to other networks by using other CNI plugins (e.g. vlan/vxlan/ptp).

multus-pod-image

Quickstart Installation Guide

The quickstart installation method for Multus requires that you have first installed a Kubernetes CNI plugin to serve as your pod-to-pod network, which we refer to as your “default network” (a network interface that every pod will be created with). Each network attachment created by Multus will be in addition to this default network interface. For more detail on installing a default network CNI plugin, refer to our quick-start guide.

To use latest features try command below which applies a daemonset and installs thick Multus using kubectl:

kubectl apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/master/deployments/multus-daemonset-thick.yml

This will configure your systems to be ready to use Multus CNI, but, to get started with adding additional interfaces to your pods, refer to our complete quick-start guide

Thin Plugin v.s Thick Plugin

With the multus 4.0 release, we introduce a new client/server-style plugin deployment. This new deployment is called ‘thick plugin’, in contrast to deployments in previous versions, which is now called a ‘thin plugin’. The new thick plugin consists of two binaries, multus-daemon and multus-shim CNI plugin. The ‘multus-daemon’ will be deployed to all nodes as a local agent and supports additional features, such as metrics, which were not available with the ‘thin plugin’ deployment before. Due to these additional features, the ‘thick plugin’ comes with the trade-off of consuming more resources than the ‘thin plugin’.

We recommend using the thick plugin in most environments, but if you wish to run the thin plugin, or are in a resource-constrained environment, you may do so with:

kubectl apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/master/deployments/multus-daemonset.yml

Additional Installation Options

In addition to the quick-start guide, you may:

Comprehensive Documentation

Contact Us

For any questions about Multus CNI, open up a GitHub issue or feel free to ask a question in #general in the NPWG Slack.

评论

暂无评论