diff --git a/subjects/devops/orchestrator/README.md b/subjects/devops/orchestrator/README.md index 6140cb09f..bc6b5023d 100644 --- a/subjects/devops/orchestrator/README.md +++ b/subjects/devops/orchestrator/README.md @@ -83,23 +83,22 @@ You must store your passwords and credentials as a K8s secrets. ### Node.js apps -Your Node.js applications must be deployed as a deployment and they must be scaled horizontally automatically, depending on CPU consumption. +This Node.js applications must be deployed as a deployment and they must be scaled horizontally automatically, depending on CPU consumption. - `api-gateway`: max replication: 3 min replication: 1 cpu percent trigger: 60% -- `billing-app`: - max replication: 3 - min replication: 1 - cpu percent trigger: 60% - - `inventory-app`: max replication: 3 min replication: 1 cpu percent trigger: 60% +This Node.js application must be deployed as StatefulSet: + +- `billing-app` + ### Databases Your databases must be deployed as StatefulSet in your K3s cluster, and you must create volumes that enable containers to move across infrastructure without losing the data. diff --git a/subjects/devops/orchestrator/audit/README.md b/subjects/devops/orchestrator/audit/README.md index 74e48a9e8..fe8c49d38 100644 --- a/subjects/devops/orchestrator/audit/README.md +++ b/subjects/devops/orchestrator/audit/README.md @@ -136,15 +136,14 @@ user:~$ min replication: 1 cpu percent trigger: 60% -2. `billing-app`: +2. `inventory-app`: max replication: 3 min replication: 1 cpu percent trigger: 60% -3. `inventory-app`: - max replication: 3 - min replication: 1 - cpu percent trigger: 60% +This Node.js application must be deployed as StatefulSet: + +1. `billing-app` ###### Do all apps deploy with the correct configuration? diff --git a/subjects/devops/orchestrator/pictures/Architecture.png b/subjects/devops/orchestrator/pictures/Architecture.png index ad11c216e..48c69b681 100644 Binary files a/subjects/devops/orchestrator/pictures/Architecture.png and b/subjects/devops/orchestrator/pictures/Architecture.png differ