From adca895b6bfdfd132b79b64a8d267558b9ae457c Mon Sep 17 00:00:00 2001 From: CLEMENTE Damien <damien.clemente@etu.univ-amu.fr> Date: Tue, 11 Mar 2025 23:32:50 +0000 Subject: [PATCH] Update 3 files - /kubernetes_installation.md - /1.kubernetes_installation.md - /2.worker_node_configuration.md --- ...llation.md => 1.kubernetes_installation.md | 1 - 2.worker_node_configuration.md | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) rename kubernetes_installation.md => 1.kubernetes_installation.md (96%) create mode 100644 2.worker_node_configuration.md diff --git a/kubernetes_installation.md b/1.kubernetes_installation.md similarity index 96% rename from kubernetes_installation.md rename to 1.kubernetes_installation.md index e243643..e7dd8bb 100644 --- a/kubernetes_installation.md +++ b/1.kubernetes_installation.md @@ -191,4 +191,3 @@ kube-flannel-ds-vfr4h 1/1 Running 10 (74m ago) 6d root@kube01:~# ``` - diff --git a/2.worker_node_configuration.md b/2.worker_node_configuration.md new file mode 100644 index 0000000..54d85e1 --- /dev/null +++ b/2.worker_node_configuration.md @@ -0,0 +1,20 @@ +```bash +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:~# +``` +```bash +``` + +# Ajout et configuration d'un worker node + +# 1. Rejoindre le Master kube01 depuis les workers + +avec la commande **guardee plus tot** : +```bash +kubeadm join 192.168.10.10:6443 --token 9yu8eq.hluhrzkufar4s07z \ + --discovery-token-ca-cert-hash sha256:21820cff2482dda0ce25e234f5fc2e6a5d2676bd14ca08cf1c457eba2a3583b2 +``` \ No newline at end of file -- GitLab