multus-config-injector

command module
v0.0.0-...-511a60a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

multus-config-injector

Pod多网卡注入

背景

兼容来老项目,pod使用多网卡的方式,针对现在的容器云改造起来比较繁琐,所以需要用webhook的方式注入,省时省心。

原理

递归查找上层的cni配置,如果找到就不找了,如果第一个没找到cni的配置,一直往最顶层找,找到就给Pod打上多网卡的注解,找不到就放过。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL