https://github.com/mjtechguy/k8s-install-iac
Install k3s and rke2 with bash or ansible
https://github.com/mjtechguy/k8s-install-iac
Last synced: 5 months ago
JSON representation
Install k3s and rke2 with bash or ansible
- Host: GitHub
- URL: https://github.com/mjtechguy/k8s-install-iac
- Owner: mjtechguy
- Created: 2024-06-12T17:03:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T17:02:50.000Z (over 1 year ago)
- Last Synced: 2025-09-27T07:03:04.145Z (9 months ago)
- Language: Jinja
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible K8s Installation
This repository contains Ansible playbooks and roles to automate the installation and configuration of Kubernetes (K8s) clusters. It is designed to simplify the deployment process and ensure consistency across different environments.
Specifically, this repository includes deploying rke2 or k3s clusters, which are lightweight Kubernetes distributions suitable for various use cases.
## Technologies Used
- **Ansible**: An open-source automation tool used for configuration management, application deployment, and task automation.
- **K3s**: A lightweight Kubernetes distribution designed for resource-constrained environments and edge computing.
- **RKE2**: A Kubernetes distribution optimized for security and performance, suitable for production environments.
- **traefik**: A modern HTTP reverse proxy and load balancer that makes deploying microservices easy.
- **ingress-nginx**: An Ingress controller for Kubernetes that manages external access to services within the cluster.
- **cert-manager**: A Kubernetes add-on that automates the management and issuance of TLS certificates.
- **reflector**: A tool to copy TLS secrets from one namespace to another in a Kubernetes cluster.
- **Rancher**: A complete container management platform that makes it easy to deploy and manage Kubernetes clusters.
## Requirements
To use the Ansible playbooks in this repository, you need the following:
- Linux-based operating system (Ubuntu, CentOS, etc.)
- Ansible installed on the control node. Ansible can be installed using pip:
```bash
ansible-install.sh
```