{"id":19838541,"url":"https://github.com/metal-stack/node-init","last_synced_at":"2025-08-10T04:17:33.050Z","repository":{"id":41384503,"uuid":"355492513","full_name":"metal-stack/node-init","owner":"metal-stack","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-05T17:50:37.000Z","size":94,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T18:41:41.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metal-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-07T09:50:25.000Z","updated_at":"2025-06-05T17:50:37.000Z","dependencies_parsed_at":"2024-03-07T09:47:13.952Z","dependency_job_id":"800e9c39-16b4-4324-8d40-0a8a4b1ad505","html_url":"https://github.com/metal-stack/node-init","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":0.6470588235294117,"last_synced_commit":"bb2f177936108d1e8cc4fd99468a8ea9ca7d58d5"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/metal-stack/node-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fnode-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fnode-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fnode-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fnode-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-stack","download_url":"https://codeload.github.com/metal-stack/node-init/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fnode-init/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269674904,"owners_count":24457457,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T12:18:07.178Z","updated_at":"2025-08-10T04:17:32.982Z","avatar_url":"https://github.com/metal-stack.png","language":"Go","readme":"# node-init\n\nmetal-stack uses frr and BGP for routing-to-the-host. If a calico interface / pod IP gets added or removed to the kernel routing table, frr announces or removes the according BGP route.\n\nThere is an open issue with frr, that sometimes - in rare cases - frr misses these route-changes: \u003chttps://github.com/FRRouting/frr/issues/7299\u003e and the BGP routing tables differs from kernel routing table, leading to unreachable pods.\n\nSince all pod IPs on a node are from the same podCIDR anyway, there is no need for host-routes for every pod. It's sufficient enough to simply route the whole node.podCIDR to that node.\n\n`node-init` reads node.spec.podCIDR and sets a route to dev lo0. This results in a BGP route for this podCIDR to that node and therefore mitigates the issue with missing podIP routes.\n\n## Usage\n\n```text\nUsage:\n  node-init [command]\n\nAvailable Commands:\n  help        Help about any command\n  init        init node networking\n\nFlags:\n  -h, --help   help for node-init\n\nUse \"node-init [command] --help\" for more information about a command.\n```\n\n## Example\n\n```bash\nkubectl apply -f deploy/node-init.yaml\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fnode-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-stack%2Fnode-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fnode-init/lists"}