Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itwars/k3s-ansible
Ansible playbook to deploy k3s kubernetes cluster
https://github.com/itwars/k3s-ansible
ansible devops iot k3s k8s kubernetes kubernetes-cluster rancher raspeberry-pi
Last synced: about 5 hours ago
JSON representation
Ansible playbook to deploy k3s kubernetes cluster
- Host: GitHub
- URL: https://github.com/itwars/k3s-ansible
- Owner: itwars
- Created: 2019-03-12T16:32:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T01:59:22.000Z (almost 3 years ago)
- Last Synced: 2023-11-07T17:51:40.872Z (about 1 year ago)
- Topics: ansible, devops, iot, k3s, k8s, kubernetes, kubernetes-cluster, rancher, raspeberry-pi
- Language: Jinja
- Homepage: https://github.com/k3s-io/k3s-ansible
- Size: 15.6 KB
- Stars: 188
- Watchers: 14
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build a Kubernetes cluster using k3s via Ansible.
> This repository is now part of https://github.com/k3s-io/k3s-ansible official repo in contrib/ansible directory.
> Anyway I'll write updates in order to make PM in k3s.
> Be my guest and feel free to contribute.## My blog post about these bunch of playbooks
Here 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)
## K3s Ansible Playbook
Build a Kubernetes cluster using Ansible with k3s. The goal is easily install a Kubernetes cluster on machines running:
- [X] Debian 9
- [ ] Ubuntu 16.04
- [ ] CentOS 7on processor architecture:
- [X] x64
- [X] arm64
- [X] armhf## System requirements:
Deployment environment must have Ansible 2.4.0+
Master and nodes must have passwordless SSH access## Usage
Add the system information gathered above into a file called hosts.ini. For example:
```
[master]
192.16.35.12[node]
192.16.35.[10:11][kube_cluster:children]
master
node
```Start provisioning of the cluster using the following command:
```
ansible-playbook site.yml
```