{"id":14986125,"url":"https://github.com/bounebrayan/bare-metal-cluster-setup","last_synced_at":"2026-03-07T18:31:08.415Z","repository":{"id":237898672,"uuid":"795451236","full_name":"BounebRayan/Bare-metal-cluster-setup","owner":"BounebRayan","description":"Kubernetes Cluster Setup Using Ansible and Vagrant.","archived":false,"fork":false,"pushed_at":"2024-09-01T04:08:40.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-13T23:21:21.686Z","etag":null,"topics":["ansible","bare-metal","cluster","kubernetes","nested","playbook","vagrant","virtualbox","wsl"],"latest_commit_sha":null,"homepage":"","language":null,"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/BounebRayan.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}},"created_at":"2024-05-03T10:04:24.000Z","updated_at":"2024-09-01T04:09:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a61d03c1-2537-4367-9010-5db01d6ce42e","html_url":"https://github.com/BounebRayan/Bare-metal-cluster-setup","commit_stats":null,"previous_names":["bounebrayan/cluster-setup","bounebrayan/bare-metal-cluster-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BounebRayan%2FBare-metal-cluster-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BounebRayan%2FBare-metal-cluster-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BounebRayan%2FBare-metal-cluster-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BounebRayan%2FBare-metal-cluster-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BounebRayan","download_url":"https://codeload.github.com/BounebRayan/Bare-metal-cluster-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219850524,"owners_count":16556317,"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":["ansible","bare-metal","cluster","kubernetes","nested","playbook","vagrant","virtualbox","wsl"],"created_at":"2024-09-24T14:12:21.882Z","updated_at":"2026-02-06T17:30:19.150Z","avatar_url":"https://github.com/BounebRayan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Awesome ReadME](https://i.ibb.co/580HgXy/Untitled-2.png)\n\n# Bare Metal Kubernetes Cluster Setup\n\nThis repository provides all the necessary files to effortlessly spin up and configure a Kubernetes cluster using Vagrant and Ansible. Leveraging VirtualBox as the hypervisor, this solution ensures seamless virtual machine creation.\n\n## Getting Started\n\nThese instructions will give you a kubernetes cluster up and running on\nyour machine for development and testing purposes.\n\n### Prerequisites\n\nBefore diving in, make sure your system meets the following requirements:\n\n- [VirtualBox](https://www.virtualbox.org/): Version 6.1 is recommended, as newer versions might not be fully supported by Ansible at the time of this work.\n- [Vagrant](https://www.vagrantup.com/): Use Vagrant 2.2.16 for compatibility.\n- [Ansible](https://www.ansible.com/): Ensure you have Ansible Core 2.16.5 installed.\n\nIf you're utilizing WSL, refer to [this guide](https://developer.hashicorp.com/vagrant/docs/other/wsl) for additional setup instructions.\n\n### Installing\n\nYou'll first need to clone the repository\n\n    git clone https://github.com/BounebRayan/Bare-metal-cluster-setup.git\n\nNavigate to the cloned repository and run \n\n    vagrant up\n\nThis command will create the VMs according to the configuration specified in the Vagrantfile and provision them using the Ansible playbooks.\n## Usage\n\nTo ssh into a specific VM\n\n    vagrant ssh \u003cvm-name\u003e\n\nFor WSL users, If you incounter issues while trying to ssh try\n\n    vagrant plugin install virtualbox_WSL2\nand\n\n    chmod 600 the private_key file \n\nP.S: The last command requires WSL to be mounted with metadata mount option.\n\n### Stoping the cluster:\nDepending on your usecase you need to run \n\n     vagrant halt # shuts down the running machines\n     vagrant suspend # hibernate the running machines\n### Deleting the cluster:\nIf you want to delete the cluster all together do\n\n    vagrant destroy\n\n## Deployment\n\nDeploying and exposing your application in a similar cluster may require additional configurations, such as setting up port forwarding rules. \nYou can refer to the setup in this [application repository](https://github.com/BounebRayan/Devops-To-do-app) for detailed instructions.\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounebrayan%2Fbare-metal-cluster-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbounebrayan%2Fbare-metal-cluster-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounebrayan%2Fbare-metal-cluster-setup/lists"}