1.6 KiB
Ansible for k3s deployment
An Ansible repository to deploy a k3s kubernetes cluster.
Motivation
Having different shapres of kubernetes on hand is somewhat mandatory for typical DevOps and development tasks.
Description
This repository allows to build different types of k3s kubernetes setups locally and on specified machines.
Features
This section describes the features of the repository.
Cluster location
You can set up the cluster, wherever you want. You just need to configure the inventory accordingly and you are good to go.
Vagrant
TBD
Your own machines
TBD
Cluster Size
You can build different clusters by changing the amount of servers and agents. Some typical scenarios, you may be interested in, are described below.
Single instance
A single kubernetes instance is useful for local development and testing. It is similar to microk8s or minikube setups.
HA Setup
You can setup a high available kubernetes cluster with 3 servers. This is useful to develop kubernetes services, ingress, HA testing and loadbalancer functionality.
Single server, multiple agents
If you want to test pod affinity, horizontal auto scaling or just want to use multiple agents, you can define one server and multiple agents.
HA Setup with multiple agents
Define at minimum 3 servers and 1 agent to get a high available setup. This is very close to a production cluster and can be useful to test production setups.
Container deployments
The repository will offer options to configure some additional scenarios.
TBD
TBD