Add new kubernetes role

This commit is contained in:
2023-11-21 14:42:57 +01:00
parent 0acfe55c19
commit b5c2e9f89f
7 changed files with 90 additions and 14 deletions

31
hosts
View File

@@ -1,6 +1,20 @@
[perso]
ovh_fr ansible_host=37.187.127.90 ansible_user=stephane
scaleway_fr ansible_host=163.172.84.28 ansible_user=stephane
# Test VM vagrant
[kubernetes:children]
kubemaster
kubeworker
[kubemaster]
k8s-ubuntu-0 ansible_host=192.168.25.110
[kubeworker]
k8s-ubuntu-1 ansible_host=192.168.25.111
; [perso]
; ovh_fr ansible_host=37.187.127.90 ansible_user=stephane
; scaleway_fr ansible_host=163.172.84.28 ansible_user=stephane
; # TO KNOW WHOIS CHISEL SERVER
; [server]
@@ -20,13 +34,4 @@ scaleway_fr ansible_host=163.172.84.28 ansible_user=stephane
; ubuntu-worker ansible_host=192.168.33.11 ansible_user=vagrant ansible_password=vagrant
#kubectl label node ubuntu-worker node-role.kubernetes.io/worker ubuntu-worker
; curl -v -X POST \
; -H "Content-Type: application/json" \
; -d '{
; "auth": "admin",
; "password": "test"
; }' \
; https://semaphore.jingoh.fr/auth/login
#kubectl label node ubuntu-worker node-role.kubernetes.io/worker ubuntu-worker