Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
elearning:workbooks:kubernetes_en:k8s02 [2024/12/28 15:49] – created adminelearning:workbooks:kubernetes_en:k8s02 [2025/01/17 16:38] (Version actuelle) admin
Ligne 1: Ligne 1:
 ~~PDF:LANDSCAPE~~ ~~PDF:LANDSCAPE~~
  
-Version - **2024.01**+Version - **2025.01**
  
 Last update : ~~LASTMOD~~ Last update : ~~LASTMOD~~
Ligne 355: Ligne 355:
     --warnings-as-errors=false:     --warnings-as-errors=false:
         Treat warnings received from the server as errors and exit with a non-zero exit code         Treat warnings received from the server as errors and exit with a non-zero exit code
 +</code>
  
 ====1.2 - Obtaining information about the Cluster==== ====1.2 - Obtaining information about the Cluster====
Ligne 629: Ligne 630:
 </code> </code>
  
-<WRAP important 60%>+<WRAP center round important 60%>
 Important: If the above URL does not work, click **[[https://www.dropbox.com/scl/fi/a5ki48szu8q5159177opv/components.yaml?rlkey=354a4ybivgbmu97gyoduadm61&dl=0|here]]**. Copy the contents of the file and create it in the current directory. Important: If the above URL does not work, click **[[https://www.dropbox.com/scl/fi/a5ki48szu8q5159177opv/components.yaml?rlkey=354a4ybivgbmu97gyoduadm61&dl=0|here]]**. Copy the contents of the file and create it in the current directory.
 </WRAP> </WRAP>
Ligne 819: Ligne 820:
 Create the file **pod.yaml** : Create the file **pod.yaml** :
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the content from **[[https://www.dropbox.com/scl/fi/weivllvybgtxtf2psq1ko/pod.yaml?rlkey=x1spvh9v0hy8p8m86rv8oqd60&dl=0|here]] and paste it into your file.** To do: Copy the content from **[[https://www.dropbox.com/scl/fi/weivllvybgtxtf2psq1ko/pod.yaml?rlkey=x1spvh9v0hy8p8m86rv8oqd60&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 1137: Ligne 1138:
 </WRAP> </WRAP>
  
-====5.6 - Imperative commands ====+====1.6 - Imperative commands ====
  
 Before continuing, delete the **my-pod** pod: Before continuing, delete the **my-pod** pod:
Ligne 1297: Ligne 1298:
 </code> </code>
  
-<WRAP Important 60%>+<WRAP center round important 60%>
 Important: If your cannot download the file, download it from **[[https://www.dropbox.com/scl/fi/qhpr75m74mrho0c2k7ky9/krew-linux_amd64.tar.gz?rlkey=bigm37fy2c3rzqgziszq71tb8&dl=0|here]]** and then use the following code: Important: If your cannot download the file, download it from **[[https://www.dropbox.com/scl/fi/qhpr75m74mrho0c2k7ky9/krew-linux_amd64.tar.gz?rlkey=bigm37fy2c3rzqgziszq71tb8&dl=0|here]]** and then use the following code:
  
Ligne 1303: Ligne 1304:
 ( (
 set -x; cd “$(mktemp -d)” && set -x; cd “$(mktemp -d)” &&
-curl -fsSLO “https://github.com/kubernetes-sigs/krew/releases/download/v0.4.3/krew-linux_amd64.tar.gz” && 
 tar zxvf krew-linux_amd64.tar.gz && tar zxvf krew-linux_amd64.tar.gz &&
 KREW=./krew-"$(uname | tr ‘[:upper:]’ ‘[:lower:]’)_$(uname -m | sed -e ‘s/x86_64/amd64/’ -e ‘s/arm.*$/arm/’)” && KREW=./krew-"$(uname | tr ‘[:upper:]’ ‘[:lower:]’)_$(uname -m | sed -e ‘s/x86_64/amd64/’ -e ‘s/arm.*$/arm/’)” &&
Ligne 1752: Ligne 1752:
 </code> </code>
  
-=====LAB #3 - Managing patches with the kustomize==== command+=====LAB #3 - Managing patches with the kustomize command====
  
 Start by installing the **tree** executable, which you'll use later to view the directory and file tree you are about to create: Start by installing the **tree** executable, which you'll use later to view the directory and file tree you are about to create:
Ligne 1770: Ligne 1770:
 Create the **deployment.yaml** manifest: Create the **deployment.yaml** manifest:
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the  content from **[[https://www.dropbox.com/scl/fi/0af2lqns1q26u63lotu7x/deployment.yaml?rlkey=ese25kacg2ibagpio9bky3cv9&dl=0|here]] and paste it into your file.** To do: Copy the  content from **[[https://www.dropbox.com/scl/fi/0af2lqns1q26u63lotu7x/deployment.yaml?rlkey=ese25kacg2ibagpio9bky3cv9&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 1815: Ligne 1815:
 Next, create the **service.yaml** manifest: Next, create the **service.yaml** manifest:
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the content from **[[https://www.dropbox.com/scl/fi/qnr0m18sa3lwjbsk1qrj5/service.yaml?rlkey=sd5t8a4bh1trawum5vpy2bzww&dl=0|here]] and paste it into your file.** To do: Copy the content from **[[https://www.dropbox.com/scl/fi/qnr0m18sa3lwjbsk1qrj5/service.yaml?rlkey=sd5t8a4bh1trawum5vpy2bzww&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 1844: Ligne 1844:
 Finally, create the **kustomization.yaml** manifest: Finally, create the **kustomization.yaml** manifest:
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the content from **[[https://www.dropbox.com/scl/fi/5pz0wg63yd68w018248nc/kustomization.yaml?rlkey=liff7kt68fsicgjfyvxaozadi&dl=0|here]] and paste it into your file.** To do: Copy the content from **[[https://www.dropbox.com/scl/fi/5pz0wg63yd68w018248nc/kustomization.yaml?rlkey=liff7kt68fsicgjfyvxaozadi&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 1963: Ligne 1963:
 Create the file **dev_kustomization.yaml**: Create the file **dev_kustomization.yaml**:
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the content from **[[https://www.dropbox.com/scl/fi/2j60pti1wmd60kuv6kvc2/dev_kustomization.yaml?rlkey=iz6488nj8rrwg2b3y83suwch2&dl=0|here]] and paste it into your file.** To do: Copy the content from **[[https://www.dropbox.com/scl/fi/2j60pti1wmd60kuv6kvc2/dev_kustomization.yaml?rlkey=iz6488nj8rrwg2b3y83suwch2&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 2044: Ligne 2044:
 Now create the file **prod_kustomization.yaml**: Now create the file **prod_kustomization.yaml**:
  
-<WRAP todo 60%>+<WRAP center round todo 60%>
 To do: Copy the  content from **[[https://www.dropbox.com/scl/fi/bbdxrx0vxdx4y67uxehlv/prod_kustomization.yaml?rlkey=c723auhoeuzlut1p6qx96ktse&dl=0|here]] and paste it into your file.** To do: Copy the  content from **[[https://www.dropbox.com/scl/fi/bbdxrx0vxdx4y67uxehlv/prod_kustomization.yaml?rlkey=c723auhoeuzlut1p6qx96ktse&dl=0|here]] and paste it into your file.**
 </WRAP> </WRAP>
Ligne 2208: Ligne 2208:
  
 ---- ----
-Copyright © 2024 Hugh Norris+Copyright © 2025 Hugh Norris
Menu