A simple CNI plugin for kubernetes, similar with Flannel host-gw.
mycni: CNI plugin for containers, create Linux Bridge, veth pair and assign IP for Pod.
mycnid: daemon service on each host, watch Nodes and set routes, iptables for each host.
Deploy MyCNI into your kubernetes cluster
!!! It will deploy a DaemonSet application in all nodes, please run this in your dev cluster or kind/minikube
kubectl apply -f https://raw.githubusercontent.com/qingwave/mycni/main/deploy/mycni.yamlIt's more easier to use kind cluster for test. Create a kind cluster
make kind-clusterBuild image
make docker-buildLoad image into kind cluster [optional]
make kind-image-loadDeploy CNI
make deploy