{"id":15321018,"url":"https://github.com/qingwave/mycni","last_synced_at":"2025-04-14T23:33:58.847Z","repository":{"id":41452274,"uuid":"478388503","full_name":"qingwave/mycni","owner":"qingwave","description":"Mycni is a simple CNI plugin based on linux brige and routes for Kubernetes","archived":false,"fork":false,"pushed_at":"2024-02-20T01:16:11.000Z","size":5821,"stargazers_count":30,"open_issues_count":2,"forks_count":22,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T11:39:20.172Z","etag":null,"topics":["bridge","cni","k8s","kubernetes"],"latest_commit_sha":null,"homepage":"https://qingwave.github.io/how-to-write-k8s-cni/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qingwave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-06T03:27:49.000Z","updated_at":"2025-02-27T03:16:16.000Z","dependencies_parsed_at":"2024-02-20T02:30:30.136Z","dependency_job_id":"e4b8b97a-4ffc-4566-8b0b-c0f99f85b7dc","html_url":"https://github.com/qingwave/mycni","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qingwave%2Fmycni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qingwave%2Fmycni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qingwave%2Fmycni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qingwave%2Fmycni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qingwave","download_url":"https://codeload.github.com/qingwave/mycni/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248980099,"owners_count":21193102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bridge","cni","k8s","kubernetes"],"created_at":"2024-10-01T09:09:37.931Z","updated_at":"2025-04-14T23:33:58.822Z","avatar_url":"https://github.com/qingwave.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyCNI\n\nA simple CNI plugin for kubernetes, similar with Flannel host-gw.\n\n## Components\n`mycni`: CNI plugin for containers, create Linux Bridge, veth pair and assign IP for Pod.\n`mycnid`: daemon service on each host, watch Nodes and set routes, iptables for each host.\n\nNetwork architecture:\n![mycni-network-arch](./doc/k8s-mycni-arch.png)\n\n## Quick Start\n\nDeploy MyCNI into your kubernetes cluster\n\n\u003e !!! It will deploy a DaemonSet application in all nodes, please run this in your dev cluster or kind/minikube\n\n```bash\nkubectl apply -f https://raw.githubusercontent.com/qingwave/mycni/main/deploy/mycni.yaml\n```\n\n## Develop\n\nIt's more easier to use [kind](https://kind.sigs.k8s.io/) cluster for test. Create a kind cluster\n```bash\nmake kind-cluster\n```\n\nBuild image\n```bash\nmake docker-build\n```\n\nLoad image into kind cluster [optional]\n```bash\nmake kind-image-load\n```\n\nDeploy CNI\n```bash\nmake deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqingwave%2Fmycni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqingwave%2Fmycni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqingwave%2Fmycni/lists"}