Skip to content

tool for bridge and loopback cni plugin deploying and configuring

License

Notifications You must be signed in to change notification settings

TencentCloud/cni-bridge-networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cni-bridge-networking

cni-bridge-networking 一个用于部署 bridgeloopback cni 插件的工具,用于提供类似 kubenet 的功能。工具会 watch kubernetes 的 node 对象并根据 spec.podCIDR 配置相应的 conf。

编译

编译二进制文件

将此项目 clone 到 GOPATH 下,假设 GOPATH 为 /root/go

mkdir -p /root/go/src/github.com/tencentcloud/
git clone https://github.com/tencentcloud/cni-bridge-networking.git /root/go/src/github.com/tencentcloud/cni-bridge-networking
cd /root/go/src/github.com/tencentcloud/cni-bridge-networking
go build -v

打包 Docker Image (需要 Docker 17.05 或者更高版本)

docker build -f Dockerfile.multistage -t bridged:0.0.1 .

运行

kubectl create -f https://raw.githubusercontent.com/TencentCloud/cni-bridge-networking/master/deploy/deploy.yaml

About

tool for bridge and loopback cni plugin deploying and configuring

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published