An open API service indexing awesome lists of open source software.

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

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
```