{"id":21105207,"url":"https://github.com/itwars/k3s-ansible","last_synced_at":"2025-05-17T09:39:32.690Z","repository":{"id":39787962,"uuid":"175254659","full_name":"itwars/k3s-ansible","owner":"itwars","description":"Ansible playbook to deploy k3s kubernetes cluster","archived":false,"fork":false,"pushed_at":"2022-02-14T01:59:22.000Z","size":16,"stargazers_count":188,"open_issues_count":3,"forks_count":36,"subscribers_count":14,"default_branch":"master","last_synced_at":"2023-11-07T17:51:40.872Z","etag":null,"topics":["ansible","devops","iot","k3s","k8s","kubernetes","kubernetes-cluster","rancher","raspeberry-pi"],"latest_commit_sha":null,"homepage":"https://github.com/k3s-io/k3s-ansible","language":"Jinja","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/itwars.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}},"created_at":"2019-03-12T16:32:02.000Z","updated_at":"2023-09-30T09:56:28.000Z","dependencies_parsed_at":"2022-09-17T10:52:09.297Z","dependency_job_id":null,"html_url":"https://github.com/itwars/k3s-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwars%2Fk3s-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwars%2Fk3s-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwars%2Fk3s-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwars%2Fk3s-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itwars","download_url":"https://codeload.github.com/itwars/k3s-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225444533,"owners_count":17475355,"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","devops","iot","k3s","k8s","kubernetes","kubernetes-cluster","rancher","raspeberry-pi"],"created_at":"2024-11-20T00:04:18.578Z","updated_at":"2024-11-20T00:04:18.997Z","avatar_url":"https://github.com/itwars.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build a Kubernetes cluster using k3s via Ansible.\n\n\u003e This repository is now part of https://github.com/k3s-io/k3s-ansible official repo in contrib/ansible directory.\n\u003e Anyway I'll write updates in order to make PM in k3s.\n\u003e Be my guest and feel free to contribute.\n\n## My blog post about these bunch of playbooks\n\nHere is my post about [k3s and Ansible provisionning](https://www.it-wars.com/posts/cloud-native/kubernetes-avec-k3s-pour-sauver-la-planete/) (in French)\n\n## K3s Ansible Playbook\n\nBuild a Kubernetes cluster using Ansible with k3s. The goal is easily install a Kubernetes cluster on machines running:\n\n- [X] Debian 9\n- [ ] Ubuntu 16.04\n- [ ] CentOS 7\n\non processor architecture:\n\n- [X] x64\n- [X] arm64\n- [X] armhf\n\n## System requirements:\n\nDeployment environment must have Ansible 2.4.0+\nMaster and nodes must have passwordless SSH access\n\n## Usage\n\nAdd the system information gathered above into a file called hosts.ini. For example:\n\n```\n[master]\n192.16.35.12\n\n[node]\n192.16.35.[10:11]\n\n[kube_cluster:children]\nmaster\nnode\n```\n\nStart provisioning of the cluster using the following command:\n\n```\nansible-playbook site.yml\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwars%2Fk3s-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitwars%2Fk3s-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwars%2Fk3s-ansible/lists"}