Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamkoro/k3s-terraform-ansible
K3s kubernetes cluster automated install with Terrafrom and Ansible
https://github.com/adamkoro/k3s-terraform-ansible
ansible cert-manager k3s k3s-cluster kube-vip kubernetes longhorn metallb rancher raspberry-pi suse terraform
Last synced: 2 months ago
JSON representation
K3s kubernetes cluster automated install with Terrafrom and Ansible
- Host: GitHub
- URL: https://github.com/adamkoro/k3s-terraform-ansible
- Owner: adamkoro
- License: apache-2.0
- Created: 2022-05-16T06:13:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T13:30:02.000Z (5 months ago)
- Last Synced: 2024-08-23T15:05:26.283Z (5 months ago)
- Topics: ansible, cert-manager, k3s, k3s-cluster, kube-vip, kubernetes, longhorn, metallb, rancher, raspberry-pi, suse, terraform
- Language: HCL
- Homepage:
- Size: 540 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **k3s-terraform-ansible** for make kubernetes install and config easy
## **Branches**
- **main** -> Maintained version of the repo
- **k3s-postgres** -> Old version which uses external PostgresSQL for K3S database## Branch Info
### Terraform
- Terraform provider made for Libvirt (qemu/kvm) and Proxmox.
- Each cluster section contains own Terraform directory and setting. Example: etcd cluster has own playbook and k3s management and downstream has own too.
- Q35 vm fix get from this issue, thank you so much: https://github.com/dmacvicar/terraform-provider-libvirt/issues/885#issuecomment-967143916### Ansible
- Each cluster section contains own playbook, like in Terraform.
### Features
- All of the required kubernetes app deployed by manifest files.
## Management cluster
### Architecture
- 3 node install
- All the nodes are control plane- [Ansible playbook](ansible/management/)
- [Terraform](terraform/proxmox/management/)### Features
- Rancher
- Rancher Backup
- Longhorn
- Cert-manager
- Nginx ingress controller
- Kube-vip
- Kube-vip cloud controller
- Harbor## Downstream cluster
### Architecture
- 12 node install
- 3 node proxy
- 3 node etcd
- 3 node control plane
- 3 node agent- [Ansible playbook](ansible/downstream/)
- [Terraform](terraform/proxmox/downstream/)### Features
- Crm cluster with pacemaker and corosync for nginx loadbalancer
- Metallb
- Longhorn
- Nginx ingress controller
- Cert-manager## Storage cluster
### Architecture
- 3 node install
- All the nodes are control plane- [Ansible playbook](ansible/storage/)
- [Terraform](terraform/proxmox/storage/)### Features
- Longhorn
- Cert-manager
- Nginx ingress controller
- Kube-vip
- Kube-vip cloud controller
- Minio Operator
- Minio Tenant## Raspberry
### Architecture
- 1 node install
- [Ansible playbook](ansible/raspberry/)
### Features
- Cert-manager
- Nginx ingress controller
- Metallb
- ArgoCD
- InfluxDB
- Longhorn