{"id":25729972,"url":"https://github.com/charlesmcchan/rainier","last_synced_at":"2026-04-08T20:51:46.891Z","repository":{"id":139343859,"uuid":"138547478","full_name":"charlesmcchan/rainier","owner":"charlesmcchan","description":"Rainier is a container network interface (CNI) plugin that creates one network interface for each container and attach it to an OVS bridge","archived":false,"fork":false,"pushed_at":"2018-08-26T05:54:04.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T12:49:12.862Z","etag":null,"topics":["cni","cni-plugin","kubernetes","openvswitch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charlesmcchan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-25T05:28:45.000Z","updated_at":"2025-06-03T04:47:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"efb46b16-598c-4e13-88e5-076b47c6bcc6","html_url":"https://github.com/charlesmcchan/rainier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/charlesmcchan/rainier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesmcchan%2Frainier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesmcchan%2Frainier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesmcchan%2Frainier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesmcchan%2Frainier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlesmcchan","download_url":"https://codeload.github.com/charlesmcchan/rainier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesmcchan%2Frainier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cni","cni-plugin","kubernetes","openvswitch"],"created_at":"2025-02-26T01:46:18.432Z","updated_at":"2026-04-08T20:51:46.883Z","avatar_url":"https://github.com/charlesmcchan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rainier\nRainier is a container network interface (CNI) plugin that creates one network interface for each container and attach it to an OVS bridge\n\n## How to use\n### Prerequisite\n- golang \u003e= 1.11\n- kubernetes\n- kubernetes-cni\n\n### Fetch rainier source code\n```bash\ngit clone git@github.com:charlesmchan/rainier.git\n```\n\n### Build\n```bash\ncd rainier\ngo build rainier.go\n```\n### Link binary and configuration to CNI folder\n```bash\nsudo mkdir -p /etc/cni/net.d\nsudo mkdir -p /opt/cni/bin\nsudo ln -s config /etc/cni/net.d/rainier.conf\nsudo ln -s rainier /opt/cni/bin/rainier\n```\n\n### Test with sample service\n```bash\nsudo kubectl create -f service.yaml\n```\n`service.yaml` will spawn 3 `busybox` containers. All of them should get an IP address and should be able to ping one another if OVS is set to standalone mode\n\n## Note\nKubernetes does not take DNS configuration returned from CNI. We need to configure DNS in the Kubernetes pod configuration\n\n## Todo\n- Test cases\n\n## How it is named\nI have a bad sense of naming a project and I was eating rainier cherries while coding\n\n## Acknowledgement\nSpecial thanks to @hwchiu\n\n## Reference\n- [CNI](https://github.com/containernetworking/cni)\n- [CNI plugin](https://github.com/containernetworking/plugins)\n- [Go OpenvSwitch library](https://github.com/digitalocean/go-openvswitch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesmcchan%2Frainier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlesmcchan%2Frainier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesmcchan%2Frainier/lists"}