{"id":16430165,"url":"https://github.com/its-alex/k0sctl-playground","last_synced_at":"2025-10-09T06:18:08.579Z","repository":{"id":191158786,"uuid":"684012980","full_name":"Its-Alex/k0sctl-playground","owner":"Its-Alex","description":"k0sctl playgroud to try and test some configurations on VMs","archived":false,"fork":false,"pushed_at":"2023-09-01T13:08:33.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T06:18:07.930Z","etag":null,"topics":["k0s","k0sctl","kuberntes","playground","vagrant"],"latest_commit_sha":null,"homepage":"","language":null,"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/Its-Alex.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}},"created_at":"2023-08-28T09:10:54.000Z","updated_at":"2023-08-28T12:53:38.000Z","dependencies_parsed_at":"2023-08-28T12:42:41.934Z","dependency_job_id":"8a17a4c2-6670-4a06-a0cb-4d2a49c502ad","html_url":"https://github.com/Its-Alex/k0sctl-playground","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"0f181f2ec925796ec676025cc8bb5ea0fdb6ac01"},"previous_names":["its-alex/k0sctl-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Its-Alex/k0sctl-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fk0sctl-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fk0sctl-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fk0sctl-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fk0sctl-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-Alex","download_url":"https://codeload.github.com/Its-Alex/k0sctl-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fk0sctl-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000853,"owners_count":26082950,"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-10-09T02:00:07.460Z","response_time":59,"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":["k0s","k0sctl","kuberntes","playground","vagrant"],"created_at":"2024-10-11T08:25:57.148Z","updated_at":"2025-10-09T06:18:08.564Z","avatar_url":"https://github.com/Its-Alex.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# k0sctl playground\n\nThis project aim to be a playground for [`k0sctl`](https://github.com/k0sproject/k0sctl),\nsome VMs are provisionned with [vagrant](https://www.vagrantup.com/) to be able\nto be used with [`k0sctl`](https://github.com/k0sproject/k0sctl).\n\n## Requirement\n\n- [`rtx`](https://github.com/jdx/rtx)\n- [`vagrant`](https://www.vagrantup.com/)\n\n## Getting started\n\nFirst you must boot VMs:\n\n```bash\n$ vagrant up\nBringing machine 'cluster-001' up with 'virtualbox' provider...\nBringing machine 'cluster-002' up with 'virtualbox' provider...\n==\u003e cluster-001: Importing base box 'bento/ubuntu-22.04'...\n==\u003e cluster-001: Matching MAC address for NAT networking...\n==\u003e cluster-001: Checking if box 'bento/ubuntu-22.04' version '202303.13.0' is up to date...\n==\u003e cluster-001: Setting the name of the VM: cluster-001\n==\u003e cluster-001: Clearing any previously set network interfaces...\n==\u003e cluster-001: Preparing network interfaces based on configuration...\n    cluster-001: Adapter 1: nat\n    cluster-001: Adapter 2: hostonly\n==\u003e cluster-001: Forwarding ports...\n    cluster-001: 22 (guest) =\u003e 2222 (host) (adapter 1)\n==\u003e cluster-001: Running 'pre-boot' VM customizations...\n==\u003e cluster-001: Booting VM...\n...\n```\n\nThen you can now apply [`k0sctl configuration`](./multiple_controller_worker_nodes.yaml):\n\n```bash\n$ k0sctl apply --config ./k0sctl/multiple_controller_worker_nodes.yaml\n\n⠀⣿⣿⡇⠀⠀⢀⣴⣾⣿⠟⠁⢸⣿⣿⣿⣿⣿⣿⣿⡿⠛⠁⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀█████████ █████████ ███\n⠀⣿⣿⡇⣠⣶⣿⡿⠋⠀⠀⠀⢸⣿⡇⠀⠀⠀⣠⠀⠀⢀⣠⡆⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀███          ███    ███\n⠀⣿⣿⣿⣿⣟⠋⠀⠀⠀⠀⠀⢸⣿⡇⠀⢰⣾⣿⠀⠀⣿⣿⡇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀███          ███    ███\n⠀⣿⣿⡏⠻⣿⣷⣤⡀⠀⠀⠀⠸⠛⠁⠀⠸⠋⠁⠀⠀⣿⣿⡇⠈⠉⠉⠉⠉⠉⠉⠉⠉⢹⣿⣿⠀███          ███    ███\n⠀⣿⣿⡇⠀⠀⠙⢿⣿⣦⣀⠀⠀⠀⣠⣶⣶⣶⣶⣶⣶⣿⣿⡇⢰⣶⣶⣶⣶⣶⣶⣶⣶⣾⣿⣿⠀█████████    ███    ██████████\nk0sctl v0.15.5 Copyright 2023, k0sctl authors.\nAnonymized telemetry of usage will be sent to the authors.\nBy continuing to use k0sctl you agree to these terms:\nhttps://k0sproject.io/licenses/eula\nINFO ==\u003e Running phase: Connect to hosts\nWARN 192.168.56.10:22: Ignored a SSH host key mismatch because StrictHostkeyChecking is set to 'no' in ssh config\nINFO [ssh] 192.168.56.10:22: connected\nINFO [ssh] 192.168.56.11:22: connected\n...\nINFO k0s cluster version v1.27.4+k0s.0 is now installed\nINFO Tip: To access the cluster you can now fetch the admin kubeconfig using:\nINFO      k0sctl kubeconfig\n```\n\nYou now have two clusters on two differents nodes. You can go on VMs to check:\n\n```bash\n$ vagrant ssh cluster-001\nWelcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-67-generic x86_64)\n\n * Documentation:  https://help.ubuntu.com\n * Management:     https://landscape.canonical.com\n * Support:        https://ubuntu.com/advantage\n\n  System information as of Mon Aug 28 10:41:29 AM UTC 2023\n\n  System load:  1.0556640625       Users logged in:              0\n  Usage of /:   17.1% of 30.34GB   IPv4 address for eth0:        10.2.0.15\n  Memory usage: 37%                IPv4 address for eth1:        192.168.56.10\n  Swap usage:   0%                 IPv4 address for kube-bridge: 10.244.0.1\n  Processes:    189\n\n * Introducing Expanded Security Maintenance for Applications.\n   Receive updates to over 25,000 software packages with your\n   Ubuntu Pro subscription. Free for personal use.\n\n     https://ubuntu.com/pro\n\n\nThis system is built by the Bento project by Chef Software\nMore information can be found at https://github.com/chef/bento\nvagrant@cluster-001:~$ sudo su\nroot@cluster-001:/home/vagrant# k0s status\nVersion: v1.27.4+k0s.0\nProcess ID: 2946\nRole: controller\nWorkloads: true\nSingleNode: true\nKube-api probing successful: true\nKube-api probing last error:\n```\n\nYou can check, add or edit `k0sctl configurations` in [`k0sctl`](./k0sctl/).\n\n## How to change VMs\n\nYou can edit the [`Vagrantfile`](./Vagrantfile) to update number of VMs or their\nconfigurations.\n\n## Licence\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fk0sctl-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-alex%2Fk0sctl-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fk0sctl-playground/lists"}