Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| elearning:workbooks:kubernetes_en:k8s02 [2024/12/28 15:49] – created 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 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 | ||
| + | </ | ||
| ====1.2 - Obtaining information about the Cluster==== | ====1.2 - Obtaining information about the Cluster==== | ||
| Ligne 629: | 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 819: | 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 1137: | 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 1297: | 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 1303: | 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 1752: | Ligne 1752: | ||
| </ | </ | ||
| - | =====LAB #3 - Managing patches with the kustomize==== | + | =====LAB #3 - Managing patches with the kustomize |
| 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%> | + | < |
| To do: Copy the content from **[[https:// | To do: Copy the content from **[[https:// | ||
| </ | </ | ||
| Ligne 1815: | 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 1844: | 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 1963: | 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 2044: | 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 2208: | Ligne 2208: | ||
| ---- | ---- | ||
| - | Copyright © 2024 Hugh Norris | + | Copyright © 2025 Hugh Norris |