Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| elearning:workbooks:kubernetes_en:k8s02 [2024/12/28 15:52] – admin | elearning:workbooks:kubernetes_en:k8s02 [2025/01/17 16:38] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ~~PDF: | ~~PDF: | ||
| - | Version - **2024.01** | + | Version - **2025.01** |
| Last update : ~~LASTMOD~~ | Last update : ~~LASTMOD~~ | ||
| Ligne 630: | Ligne 630: | ||
| </ | </ | ||
| - | <WRAP important 60%> | + | < |
| Important: If the above URL does not work, click **[[https:// | Important: If the above URL does not work, click **[[https:// | ||
| </ | </ | ||
| Ligne 820: | Ligne 820: | ||
| Create the file **pod.yaml** : | Create the file **pod.yaml** : | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 1138: | Ligne 1138: | ||
| </ | </ | ||
| - | ====5.6 - Imperative commands ==== | + | ====1.6 - Imperative commands ==== |
| Before continuing, delete the **my-pod** pod: | Before continuing, delete the **my-pod** pod: | ||
| Ligne 1298: | Ligne 1298: | ||
| </ | </ | ||
| - | < | + | < |
| Important: If your cannot download the file, download it from **[[https:// | Important: If your cannot download the file, download it from **[[https:// | ||
| Ligne 1304: | Ligne 1304: | ||
| ( | ( | ||
| set -x; cd “$(mktemp -d)” && | set -x; cd “$(mktemp -d)” && | ||
| - | curl -fsSLO “https:// | ||
| tar zxvf krew-linux_amd64.tar.gz && | tar zxvf krew-linux_amd64.tar.gz && | ||
| KREW=./ | KREW=./ | ||
| Ligne 1771: | Ligne 1770: | ||
| Create the **deployment.yaml** manifest: | Create the **deployment.yaml** manifest: | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 1816: | Ligne 1815: | ||
| Next, create the **service.yaml** manifest: | Next, create the **service.yaml** manifest: | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 1845: | Ligne 1844: | ||
| Finally, create the **kustomization.yaml** manifest: | Finally, create the **kustomization.yaml** manifest: | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 1964: | Ligne 1963: | ||
| Create the file **dev_kustomization.yaml**: | Create the file **dev_kustomization.yaml**: | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 2045: | Ligne 2044: | ||
| Now create the file **prod_kustomization.yaml**: | Now create the file **prod_kustomization.yaml**: | ||
| - | <WRAP todo 60%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 2209: | Ligne 2208: | ||
| ---- | ---- | ||
| - | Copyright © 2024 Hugh Norris | + | Copyright © 2025 Hugh Norris |