Go to file
guppy e349432151 fix apt issue 2023-06-07 08:20:27 +02:00
exemples update 2023-06-01 16:44:22 +02:00
group_vars Add Gitea-helm-ha for testing 2023-05-21 14:10:47 +02:00
prometheus Add Prometheus/StateMetrics/Grafana manifest 2023-06-07 07:52:50 +02:00
roles fix apt issue 2023-06-07 08:20:27 +02:00
README.md Change README 2023-06-07 07:57:00 +02:00
bootstrap.yaml Cluster is working! 2023-05-13 16:00:00 +02:00
calico.yaml Restructuration des roles 2023-05-10 10:21:53 +02:00
exemples.yaml update 2023-06-01 16:44:22 +02:00
flannel.yaml Cluster is working! 2023-05-13 16:00:00 +02:00
gitea-helm.yaml Cluster is working! 2023-05-13 16:00:00 +02:00
gitea.yaml Initial commit 2023-05-10 07:46:51 +02:00
helm.yaml Initial commit 2023-05-10 07:46:51 +02:00
hostname.yaml Initial commit 2023-05-10 07:46:51 +02:00
hostpath.yaml Add hostpath roles 2023-06-01 15:56:25 +02:00
ingress-nginx.yaml Working Gitea 2023-05-14 08:16:15 +02:00
initialize-kubernetes.yaml Description des variables + Fix PureLB crash 2023-05-18 07:39:04 +02:00
join.yml Cluster is working! 2023-05-13 16:00:00 +02:00
kubernetes-reset.yaml Fix reset bug 2023-05-18 10:33:51 +02:00
kubernetes-worker.yaml Initial commit 2023-05-10 07:46:51 +02:00
metallb.yaml Initial commit 2023-05-10 07:46:51 +02:00
openebs.yaml Add loadbalancer 2023-05-14 23:20:07 +02:00
pre-join.yaml Restructuration des roles 2023-05-10 10:21:53 +02:00
pre-start.yaml Cluster is working! 2023-05-13 16:00:00 +02:00
purelb.yaml Add loadbalancer 2023-05-14 23:20:07 +02:00
start.yaml update 2023-06-01 16:44:22 +02:00

README.md

K8s cluster on Debian 11

Tested successfully on 14/05/2023 with kubernetes 1.27.1, containerd 1.6.21, flannel 1.1.2, ingress-nginx and PureLB
Durée approximative du deployment: 8 minutes

kubeadm version
containerd --version
/opt/cni/bin/flannel --version

Prérequis

Editez groupvar/all selon vos besoins
Avoir générer le hosts.ini avec Terraform
cf https://git.metatux.fr:3001/GRETA/TP-IaC-Ansible

Prepare les noeuds et fait l'installation de kubernetes

ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ../terraform/hosts.ini pre-start.yaml

Initialisation du cluster + join des workers, ajout de flannel, openebs, ingress-nginx, purelb.

Mise en service du cluster

ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ../terraform/hosts.ini start.yaml

Si besoin de reset le cluster

ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ../terraform/hosts.ini kubernetes-reset.yaml