Ajout du test final sur Gitea

master
guppy 2023-05-14 09:09:46 +02:00
parent 0cfa985a1e
commit 9156341792
3 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# K8s cluster on Debian 11 # K8s cluster on Debian 11
Tested successfully on 14/05/2023 with kubernetes 1.27.1, containerd 1.6.21 and flannel 1.1.2 Tested successfully on 14/05/2023 with kubernetes 1.27.1, containerd 1.6.21 and flannel 1.1.2
Durée approximative du deployment: 8 minutes
kubeadm version kubeadm version
containerd --version containerd --version
/opt/cni/bin/flannel --version /opt/cni/bin/flannel --version

View File

@ -11,4 +11,4 @@ flannel:
gitea: gitea:
replicacount: 3 replicacount: 3
servicetype: LoadBalancer servicetype: LoadBalancer
externalips: 192.168.230.20 externalips: 192.168.230.10

View File

@ -12,3 +12,15 @@
helm repo add gitea-charts https://dl.gitea.io/charts/ helm repo add gitea-charts https://dl.gitea.io/charts/
helm repo update helm repo update
helm install -f /tmp/values.yaml gitea gitea-charts/gitea helm install -f /tmp/values.yaml gitea gitea-charts/gitea
- name: Attente du démarrage de Gitea
retries: 6
wait_for:
host: "{{ gitea.externalips }}"
port: 3000
delay: 10
state: present
- name:
debug:
msg: Le serveur Gitea est operationel est joignable sur http://{{ gitea.externalips }}:3000