Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:kubernetes_en:k8s00 [2024/12/27 08:58] adminelearning:workbooks:kubernetes_en:k8s00 [2025/01/17 16:37] (Version actuelle) admin
Ligne 1: Ligne 1:
 ~~PDF:LANDSCAPE~~ ~~PDF:LANDSCAPE~~
  
-Version - **2024.01**+Version - **2025.01**
  
 Last update : ~~LASTMOD~~ Last update : ~~LASTMOD~~
Ligne 10: Ligne 10:
 =====Curriculum===== =====Curriculum=====
  
-* **DOE301 - Creating Kubernetes clusters** +  * **DOE301 - Creating Kubernetes clusters** 
-  * Curriculum +    * Curriculum 
-  * Container Orchestration +    * Container Orchestration 
-  * Introduction to Kubernetes (k8s) +    * Introduction to Kubernetes (k8s) 
-    Master +      Control Plane 
-    * Nodes (Minions) +      * Controller 
-  * LAB #1 - Creating a Kubernetes cluster with Virtual Machines +      * Nodes (Minions) 
-    * 1.1 - Overview +    * LAB #1 - Creating a Kubernetes cluster with Virtual Machines 
-    * 1.2 - Connecting to the kubemaster Virtual Machine +      * 1.1 - Overview 
-    * 1.3 - Testing the network +      * 1.2 - Connecting to the kubemaster 
-    * 1.4 - Initializing the Cluster Master +      * 1.3 - Testing the network 
-    * 1.5 - Installing a Network Extension for communication between PODs +      * 1.4 - Initializing the Cluster Controller 
-    * 1.6 - Connecting workers to the Master  +      * 1.5 - Installing a Network Extension for communication between PODs 
-    * 1.7 - K8s and High Availability +      * 1.6 - Connecting workers to the Controller  
-  * LAB #2 - Creating a Kubernetes cluster with Minikube +      * 1.7 - K8s and High Availability 
-    * 2.1 - Introducing Minikube +    * LAB #2 - Creating a Kubernetes cluster with Minikube 
-    * 2.2 - Installing Minikube +      * 2.1 - Introducing Minikube 
-    * 2.3 - Configuring Minikube +      * 2.2 - Installing Minikube 
-    * 2.4 - Installing Docker +      * 2.3 - Configuring Minikube 
-    * 2.5 - Installing kubectl +      * 2.4 - Installing Docker 
-    * 2.6 - The minikube addons command +      * 2.5 - Installing kubectl 
-    * 2.7 - The minikube dashboard command+      * 2.6 - The minikube addons command 
 +      * 2.7 - The minikube dashboard addon
  
 =====VirtualBoxes===== =====VirtualBoxes=====
Ligne 38: Ligne 39:
   * [[https://www.dropbox.com/scl/fi/s5t95lzt0vbj45olfwzpr/Kubenode01_10.0.2.66.ova?rlkey=58n7yl8mb5gi1s3u3g9zp8b8s&dl=0|Kubenode1]]   * [[https://www.dropbox.com/scl/fi/s5t95lzt0vbj45olfwzpr/Kubenode01_10.0.2.66.ova?rlkey=58n7yl8mb5gi1s3u3g9zp8b8s&dl=0|Kubenode1]]
   * [[https://www.dropbox.com/scl/fi/3juqu67ozwztgzigpou4d/Kubenode02_10.0.2.67.ova?rlkey=fi3wz1vbqlajxlz0s4ng6tytv&dl=0|Kubenode2]]   * [[https://www.dropbox.com/scl/fi/3juqu67ozwztgzigpou4d/Kubenode02_10.0.2.67.ova?rlkey=fi3wz1vbqlajxlz0s4ng6tytv&dl=0|Kubenode2]]
- 
-=====Resources===== 
- 
-====Lab #1==== 
- 
-  * [[https://www.dropbox.com/scl/fi/4re69olas74ri15rg7w0f/calico.yaml?rlkey=pz07c97in4e0l2xj5yp4qj9nj&dl=0|calico.yaml]] 
  
 =====Container orchestration===== =====Container orchestration=====
Ligne 123: Ligne 118:
 =====LAB #1 - Creating a Kubernetes cluster with Virtual Machines===== =====LAB #1 - Creating a Kubernetes cluster with Virtual Machines=====
  
-====.1 - Overview====+====1.1 - Overview====
  
 Note that the virtual machines used with Kubernetes must be running one of the following distributions: Note that the virtual machines used with Kubernetes must be running one of the following distributions:
Ligne 216: Ligne 211:
 </code> </code>
  
-====1.4 - Cluster Master initialization====+====1.4 - Initializing the Cluster Controller====
  
 Remove any previous Kubernetes configuration: Remove any previous Kubernetes configuration:
Ligne 310: Ligne 305:
 </code> </code>
  
-Initialize the **kubemaster** cluster master by specifying the CIDR of the **Calico** network extension and the master's IP address:+Initialize the **kubemaster** cluster controller by specifying the CIDR of the **Calico** network extension and the contoller's IP address:
  
 <code> <code>
Ligne 484: Ligne 479:
 </code> </code>
  
-====1.6 - Connecting workers to the Master====+<WRAP center round important 60%> 
 +Important: If your unable to download the **calico.yaml** file above, download it from **[[https://www.dropbox.com/scl/fi/4re69olas74ri15rg7w0f/calico.yaml?rlkey=pz07c97in4e0l2xj5yp4qj9nj&dl=0|here]]** to the current directory and modify the above command to **kubectl apply -f calico.yaml**. 
 +</WRAP> 
 + 
 +====1.6 - Connecting workers to the Controller====
  
 Run the command **kubeadm token create --print-join-command** and copy the command output : Run the command **kubeadm token create --print-join-command** and copy the command output :
Ligne 752: Ligne 751:
 </code> </code>
  
-====.7 - K8s and High Availability====+====1.7 - K8s and High Availability====
  
 In order to implement K8s in a high-availability environment, it is necessary to have at least two **Controllers** in the cluster. In order to implement K8s in a high-availability environment, it is necessary to have at least two **Controllers** in the cluster.
Ligne 1080: Ligne 1079:
 </code> </code>
  
-====2.6 - The minikube command addons====+====2.6 - The minikube addons command====
  
 Minikube uses modules. These modules are called **addons**. To view installed addons and their status, use the **minikube addons list** command: Minikube uses modules. These modules are called **addons**. To view installed addons and their status, use the **minikube addons list** command:
Ligne 1194: Ligne 1193:
 </code> </code>
  
-====2.7 - The minikube dashboard command====+====2.7 - The minikube dashboard addon====
  
 Activate the **dashboard** module: Activate the **dashboard** module:
Ligne 1267: Ligne 1266:
  
 ---- ----
-Copyright © 2024 Hugh Norris.+Copyright © 2025 Hugh Norris.
Menu