20m
+
+NAME READY STATUS RESTARTS AGE
+pod/db-0 1/1 Running 0 5h43m
+(…)
+```
diff --git a/slides/k8s/M6-M01-adding-MOVY-tenant.md b/slides/k8s/M6-M01-adding-MOVY-tenant.md
index d81ef26d..4df0ad08 100644
--- a/slides/k8s/M6-M01-adding-MOVY-tenant.md
+++ b/slides/k8s/M6-M01-adding-MOVY-tenant.md
@@ -87,6 +87,12 @@ k8s@shpod:~/fleet-config-using-flux-XXXXX$ \
---
+class: pic
+
+
+
+---
+
class: extra-details
### Another Flux error?
@@ -122,6 +128,16 @@ k8s@shpod:~$ flux reconcile source git movy-app -n movy-test
]
+---
+
+class: pic
+
+
+
+---
+
+### New branch detected
+
You now have a second app responding on [http://movy.test.mybestdomain.com]
But as of now, it's just the same as the **_🎸ROCKY_** one.
@@ -176,6 +192,28 @@ pod network is still full mesh and any connection is authorized.
---
+## Adding NetworkPolicies to **_🎸ROCKY_** and **_🎬MOVY_** namespaces
+
+`Network policies` may be seen as the firewall feature in the pod network.
+They rules ingress and egress network connections considering a described subset of pods.
+
+Please, refer to the [`Network policies` chapter in the High Five M4 module](./4.yml.html#toc-network-policies)
+
+- In our case, we just add the file `~/container.training/k8s/M6-network-policies.yaml`
+in our `./tenants/base/movy` folder
+
+- without forgetting to update our `kustomization.yaml` file
+
+- and without forgetting to commit 😁
+
+---
+
+class: pic
+
+
+
+---
+
### 🗺️ Where are we in our scenario?
@@ -247,13 +285,34 @@ gitGraph
checkout TEST-env
merge MOVY tag:'MOVY v1.0.3' type: REVERSE
+ checkout OPS
+ commit id:'Network policies'
+ checkout TEST-env
+ merge OPS type: HIGHLIGHT
+
checkout YouRHere
commit id:'x'
checkout OPS
merge YouRHere id:'YOU ARE HERE'
checkout OPS
- commit id:'Network policies'
- checkout TEST-env
+ commit id:'k0s install on METAL cluster' tag:'K01'
+ commit id:'Flux config. for METAL cluster' tag:'K02'
+ branch METAL_TEST-PROD order:3
+ commit id:'ROCKY/MOVY tenants on METAL' type: HIGHLIGHT
+ checkout OPS
+ commit id:'Flux config. for OpenEBS' tag:'K03'
+ checkout METAL_TEST-PROD
+ merge OPS id:'openEBS on METAL' type: HIGHLIGHT
+
+ checkout OPS
+ commit id:'Prometheus install'
+ checkout METAL_TEST-PROD
+ merge OPS type: HIGHLIGHT
+
+ checkout OPS
+ commit id:'Kyverno install'
+ commit id:'Kyverno rules'
+ checkout METAL_TEST-PROD
merge OPS type: HIGHLIGHT
diff --git a/slides/k8s/M6-R01-flux_configure-ROCKY-deployment.md b/slides/k8s/M6-R01-flux_configure-ROCKY-deployment.md
index 5001eb30..22b5d950 100644
--- a/slides/k8s/M6-R01-flux_configure-ROCKY-deployment.md
+++ b/slides/k8s/M6-R01-flux_configure-ROCKY-deployment.md
@@ -167,6 +167,12 @@ k8s@shpod:~/fleet-config-using-flux-XXXXX$ \
class: pic
+
+
+---
+
+class: pic
+

---
diff --git a/slides/k8s/M6-START-a-company-scenario.md b/slides/k8s/M6-START-a-company-scenario.md
index f57a1640..3fdc2889 100644
--- a/slides/k8s/M6-START-a-company-scenario.md
+++ b/slides/k8s/M6-START-a-company-scenario.md
@@ -249,9 +249,9 @@ The **_⚙️OPS_** team aims to provide clusters offering the following feature
}%%
gitGraph
commit id:"0" tag:"start"
- branch ROCKY order:3
- branch MOVY order:4
- branch YouRHere order:5
+ branch ROCKY order:4
+ branch MOVY order:5
+ branch YouRHere order:6
checkout YouRHere
commit id:'x'
@@ -314,13 +314,28 @@ gitGraph
checkout OPS
commit id:'Network policies'
checkout TEST-env
+ merge OPS type: HIGHLIGHT tag:'T07'
+
+ checkout OPS
+ commit id:'k0s install on METAL cluster' tag:'K01'
+ commit id:'Flux config. for METAL cluster' tag:'K02'
+ branch METAL_TEST-PROD order:3
+ commit id:'ROCKY/MOVY tenants on METAL' type: HIGHLIGHT
+ checkout OPS
+ commit id:'Flux config. for OpenEBS' tag:'K03'
+ checkout METAL_TEST-PROD
+ merge OPS id:'openEBS on METAL' type: HIGHLIGHT
+
+ checkout OPS
+ commit id:'Prometheus install'
+ checkout METAL_TEST-PROD
merge OPS type: HIGHLIGHT
- checkout MOVY
- commit id:'MOVY HELM chart' tag:'M03'
-
- checkout TEST-env
- merge MOVY tag:'MOVY v1.0'
+ checkout OPS
+ commit id:'Kyverno install'
+ commit id:'Kyverno rules'
+ checkout METAL_TEST-PROD
+ merge OPS type: HIGHLIGHT
checkout OPS
commit id:'Flux config. for PROD tenant' tag:'P01'
@@ -333,21 +348,8 @@ gitGraph
checkout PROD-env
merge ROCKY tag:'ROCKY v1.0.2'
- checkout OPS
- commit id:'Prometheus install'
- checkout PROD-env
- merge OPS type: HIGHLIGHT
-
- checkout OPS
- commit id:'Kyverno install'
- commit id:'Kyverno rules'
- checkout PROD-env
- merge OPS type: HIGHLIGHT
-
- checkout OPS
- commit id:'Add OpenEBS'
+ checkout MOVY
+ commit id:'MOVY HELM chart' tag:'M03'
checkout TEST-env
- merge OPS id:'patch dedicated to PROD' type: REVERSE
- checkout PROD-env
- merge OPS type: HIGHLIGHT
+ merge MOVY tag:'MOVY v1.0'
diff --git a/slides/k8s/M6-T03-installing-tenants.md b/slides/k8s/M6-T03-installing-tenants.md
index 45418c74..336b450e 100644
--- a/slides/k8s/M6-T03-installing-tenants.md
+++ b/slides/k8s/M6-T03-installing-tenants.md
@@ -103,6 +103,12 @@ Let's review the `fleet-config-using-flux-XXXXX/clusters/CLOUDY/tenants.yaml` fi
---
+class: pic
+
+
+
+---
+
### Our 1st Flux error
.lab[
diff --git a/slides/k8s/M6-T05-ingress-config.md b/slides/k8s/M6-T05-ingress-config.md
index 4c72d0ec..5eb56b9d 100644
--- a/slides/k8s/M6-T05-ingress-config.md
+++ b/slides/k8s/M6-T05-ingress-config.md
@@ -88,6 +88,12 @@ k8s@shpod:~/fleet-config-using-flux-XXXXX$ \
class: pic
+
+
+---
+
+class: pic
+

---
@@ -131,6 +137,12 @@ k8s@shpod:~/fleet-config-using-flux-XXXXX$ \
---
+class: pic
+
+
+
+---
+
### Here is the result!
After Flux reconciled the whole bunch of sources and kustomizations, you should see
diff --git a/slides/k8s/M6-mermaid.md b/slides/k8s/M6-mermaid.md
deleted file mode 100644
index 3a5e783c..00000000
--- a/slides/k8s/M6-mermaid.md
+++ /dev/null
@@ -1,111 +0,0 @@
-%%{init:
- {
- "theme": "default",
- "gitGraph": {
- "mainBranchName": "OPS",
- "mainBranchOrder": 0
- }
- }
-}%%
-gitGraph
- commit id:"0" tag:"start"
- branch ROCKY order:3
- branch MOVY order:4
- branch YouRHere order:5
-
- checkout YouRHere
- commit id:'x'
- checkout OPS
- merge YouRHere id:'YOU ARE HERE'
-
- checkout OPS
- commit id:'Flux install on CLOUDY cluster' tag:'T01'
- branch TEST-env order:1
- commit id:'FLUX install on TEST' tag:'T02' type: HIGHLIGHT
-
- checkout OPS
- commit id:'ROCKY config.' tag:'T03'
- commit id:'namespace isolation by RBAC'
- checkout TEST-env
- merge OPS id:'ROCKY tenant creation' tag:'T04'
-
- checkout OPS
- commit id:'ROCKY deploy. config.' tag:'R01'
-
- checkout TEST-env
- merge OPS id:'FLUX ready to deploy ROCKY' type: HIGHLIGHT tag:'R02'
-
- checkout ROCKY
- commit id:'ROCKY' tag:'v1.0.0'
-
- checkout TEST-env
- merge ROCKY tag:'ROCKY v1.0.0'
-
- checkout OPS
- commit id:'ROCKY patch for ingress config.' tag:'R03'
- checkout TEST-env
- merge OPS id:'ingress config. for ROCKY app'
-
- checkout OPS
- commit id:'Ingress-controller config.' tag:'T05'
- checkout TEST-env
- merge OPS id:'Ingress-controller install' type: HIGHLIGHT tag:'T06'
-
- checkout ROCKY
- commit id:'blue color' tag:'v1.0.1'
- checkout TEST-env
- merge ROCKY tag:'ROCKY v1.0.1'
-
- checkout ROCKY
- commit id:'pink color' tag:'v1.0.2'
- checkout TEST-env
- merge ROCKY tag:'ROCKY v1.0.2'
-
- checkout MOVY
- commit id:'MOVY' tag:'v1.0.3'
- checkout TEST-env
- merge MOVY tag:'MOVY v1.0.3' type: REVERSE
-
- checkout MOVY
- commit id:'MOVY HELM chart' tag:'C01'
-
- checkout OPS
- commit id:'FLUX config for MOVY deployment' tag:'C02'
- checkout TEST-env
- merge OPS id:'FLUX ready to deploy MOVY' type: HIGHLIGHT tag:'C03'
-
- checkout TEST-env
- merge MOVY tag:'MOVY v1.0'
-
- checkout ROCKY
- commit id:'fix namespace' tag:'v1.1.1'
- checkout TEST-env
- merge ROCKY tag:'ROCKY v1.1.1'
-
- checkout ROCKY
- commit id:'add a field' tag:'v1.2'
- checkout TEST-env
- merge ROCKY tag:'ROCKY v1.2'
-
- checkout OPS
- commit id:'Kyverno install'
- commit id:'Kyverno rules'
- checkout TEST-env
- merge OPS type: HIGHLIGHT
-
- checkout OPS
- commit id:'Network policies'
- checkout TEST-env
- merge OPS type: HIGHLIGHT
-
- checkout OPS
- branch PROD-env order:2
- commit id:'FLUX install on PROD'
- commit id:'PROD cluster configuration'
-
- checkout OPS
- commit id:'Add OpenEBS'
- checkout TEST-env
- merge OPS id:'patch dedicated to PROD' type: REVERSE
- checkout PROD-env
- merge OPS type: HIGHLIGHT
diff --git a/slides/m6.yml b/slides/m6.yml
index 477a74e9..c4705d01 100644
--- a/slides/m6.yml
+++ b/slides/m6.yml
@@ -22,4 +22,5 @@ content:
- k8s/M6-R01-flux_configure-ROCKY-deployment.md
- k8s/M6-T05-ingress-config.md
- k8s/M6-M01-adding-MOVY-tenant.md
- - k8s/M6-k0s-install.md
\ No newline at end of file
+ - k8s/M6-K01-METAL-install.md
+ - k8s/M6-K03-openebs-install.md