{"id":15629611,"url":"https://github.com/pyaillet/k3s-vagrant-setup","last_synced_at":"2025-04-29T10:36:24.766Z","repository":{"id":83797273,"uuid":"248994042","full_name":"pyaillet/k3s-vagrant-setup","owner":"pyaillet","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-23T14:58:54.000Z","size":14,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T12:11:20.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/pyaillet.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,"publiccode":null,"codemeta":null}},"created_at":"2020-03-21T14:34:30.000Z","updated_at":"2022-02-06T14:52:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"93da310c-4b2f-4164-85df-5f2bff69df59","html_url":"https://github.com/pyaillet/k3s-vagrant-setup","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/pyaillet%2Fk3s-vagrant-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fk3s-vagrant-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fk3s-vagrant-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fk3s-vagrant-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyaillet","download_url":"https://codeload.github.com/pyaillet/k3s-vagrant-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251484735,"owners_count":21596803,"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":[],"created_at":"2024-10-03T10:27:46.720Z","updated_at":"2025-04-29T10:36:24.740Z","avatar_url":"https://github.com/pyaillet.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k3s vagrant setup\n\nMinimal [vagrant](https://www.vagrantup.com/) setup to test [k3s](https://k3s.io/).\n\nUse `./up.sh` to spawn a `k3s` cluster composed of 1 server and 3 agents.\nUse `./clean.sh` to clean things up.\n\nYou can adapt the `Vagrantfile` if you need to change the composition of the\ncluster.\n\n## Caveats\n\nThe biggest challenge with this setup was virtualbox related.\n\nUsing virtualbox, I add two ifaces to each vm:\n\n - A NAT iface used for external connectivity\n - A hostnet iface used for node to node and host to node connections\n\nBy default k3s and flannel pick the NAT one. Some configuration is needed to:\n\n - tell k3s which IP address it should advertise for the node\n - tell flannel which iface should be used to route traffic to others nodes\n\nThese configuration options are set in the systemd services (`NODE_IP` and\n`--flannel-iface`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Fk3s-vagrant-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyaillet%2Fk3s-vagrant-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Fk3s-vagrant-setup/lists"}