Select Git revision
2.worker_node_configuration.md
CLEMENTE Damien authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
2.worker_node_configuration.md 1007 B
root@kube01:~# kubectl get pods -n kube-flannel
NAME READY STATUS RESTARTS AGE
kube-flannel-ds-7x8dk 1/1 Running 11 (127m ago) 6d
kube-flannel-ds-jwgkv 1/1 Running 7 (136m ago) 6d
kube-flannel-ds-vfr4h 1/1 Running 10 (74m ago) 6d
root@kube01:~#
Ajout et configuration d'un worker node
1. Rejoindre le Master kube01 depuis les workers
- Avec la commande guardee plus tot :
kubeadm join 192.168.10.10:6443 --token 9yu8eq.hluhrzkufar4s07z \
--discovery-token-ca-cert-hash sha256:21820cff2482dda0ce25e234f5fc2e6a5d2676bd14ca08cf1c457eba2a3583b2
- Puis de puis le Master, verifier si les nodes sont marques en Ready :
root@kube01:~# kubectl get nodes
NAME STATUS ROLES AGE VERSION
kube01 Ready control-plane 6d v1.28.15
worker1 Ready <none> 6d v1.28.15
worker2 Ready <none> 6d v1.28.15