{"id":25437204,"url":"https://github.com/starbops/terraform-rke2","last_synced_at":"2026-02-05T08:01:52.243Z","repository":{"id":184435890,"uuid":"671883801","full_name":"starbops/terraform-rke2","owner":"starbops","description":"Create an RKE2 cluster with Libvirt/KVM in bridge/NAT mode using Terraform","archived":false,"fork":false,"pushed_at":"2024-08-15T17:28:30.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T20:53:39.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","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/starbops.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":"2023-07-28T11:11:36.000Z","updated_at":"2025-05-18T13:45:21.000Z","dependencies_parsed_at":"2024-08-15T19:43:21.950Z","dependency_job_id":null,"html_url":"https://github.com/starbops/terraform-rke2","commit_stats":null,"previous_names":["starbops/terraform-rke2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/starbops/terraform-rke2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Fterraform-rke2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Fterraform-rke2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Fterraform-rke2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Fterraform-rke2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starbops","download_url":"https://codeload.github.com/starbops/terraform-rke2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Fterraform-rke2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29116450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: 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":[],"created_at":"2025-02-17T08:32:56.430Z","updated_at":"2026-02-05T08:01:52.228Z","avatar_url":"https://github.com/starbops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform RKE2\n==============\n\nCreate an RKE2 cluster with Libvirt/KVM in bridge/NAT mode using Terraform.\n\nPrerequisites\n-------------\n\nTested on Ubuntu 20.04 machines\n\n```sh\nsudo apt update\nsudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst\nsudo usermod -aG libvirt $USER\nsudo usermod -aG kvm $USER\n```\n\n```sh\n$ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\n$ sudo apt-add-repository \"deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main\"\n$ sudo apt update\n$ sudo apt install terraform\n$ terraform -v\nTerraform v1.5.4\non linux_amd64\n```\n\nFiring Up\n---------\n\n```sh\nmake tf-init\nmake tf-plan\nmake tf-apply\n```\n\nConnect to one of the control plane nodes and execute the `kubectl` command to check the cluster info:\n\n```sh\n$ root@rke2-server-0:~# KUBECONFIG=/etc/rancher/rke2/rke2.yaml /var/lib/rancher/rke2/bin/kubectl cluster-info\nKubernetes control plane is running at https://127.0.0.1:6443\nCoreDNS is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/services/rke2-coredns-rke2-coredns:udp-53/proxy\n\nTo further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.\n```\n\nTearing Down\n------------\n\n```sh\nmake tf-destroy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarbops%2Fterraform-rke2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarbops%2Fterraform-rke2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarbops%2Fterraform-rke2/lists"}