From c23e4ef16b22a328bc5e5e1aadddb631054dc582 Mon Sep 17 00:00:00 2001 From: deerskindoll Date: Wed, 28 Aug 2024 12:01:17 +0200 Subject: [PATCH 1/3] removed postgressql --- .../calculating-che-resource-requirements.adoc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/modules/administration-guide/pages/calculating-che-resource-requirements.adoc b/modules/administration-guide/pages/calculating-che-resource-requirements.adoc index b999f9f159..cfe1bc9f57 100644 --- a/modules/administration-guide/pages/calculating-che-resource-requirements.adoc +++ b/modules/administration-guide/pages/calculating-che-resource-requirements.adoc @@ -31,19 +31,6 @@ The `tools` component of the devfile defines the following requests and limits: cpuLimit: 4000m ---- ==== -+ -.`postgresql` -==== -The `postgresql` component does not define any requests and limits and therefore falls back on the defaults for the dedicated container: - -[source,yaml,subs="+attributes,+quotes,macros"] ----- - memoryLimit: 128M - memoryRequest: 64M - cpuRequest: 10m - cpuLimit: 1000m ----- -==== ** During the workspace startup, an internal `che-gateway` container is implicitly provisioned with the following requests and limits: + From 23be8fc6f867d81c30f030e8bc08399470430a07 Mon Sep 17 00:00:00 2001 From: deerskindoll Date: Wed, 28 Aug 2024 14:20:50 +0200 Subject: [PATCH 2/3] removed postgressql --- tools/create_architecture_diagrams.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/create_architecture_diagrams.py b/tools/create_architecture_diagrams.py index 502bed6305..3490f23780 100755 --- a/tools/create_architecture_diagrams.py +++ b/tools/create_architecture_diagrams.py @@ -15,7 +15,6 @@ from diagrams.custom import Custom from diagrams.k8s.controlplane import APIServer from diagrams.k8s.rbac import User -from diagrams.onprem.database import PostgreSQL from diagrams.onprem.network import Traefik from diagrams.onprem.vcs import Git from diagrams.outscale.compute import Compute @@ -61,14 +60,13 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name): devfile_registries = SimpleStorageService('Devfile registries') che_host = Custom(prod_short + ' server', icon_path=prod_icon) git = Git('Git provider') - postgres = PostgreSQL('PostgreSQL') plugin_registry = SimpleStorageService('Plug-in registry') kubernetes_api = APIServer(orchestrator_name + ' API') user = User('User browser') user >> che_gateway che_gateway >> [che_dashboard, devfile_registries, che_host, plugin_registry, kubernetes_api] - che_host >> [postgres, git] + che_host >> [git] filename = file_path + 'gateway-interactions' with Diagram(filename=filename, @@ -106,14 +104,12 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name): direction="TB", graph_attr=graph_attr): che_host = Custom(prod_short + ' server', icon_path=prod_icon) - postgres = PostgreSQL('PostgreSQL') git_provider = Git('Git provider') crd_workspace = APIServer('API') che_dashboard = Custom('User dashboard', icon_path=prod_icon) che_dashboard >> che_host che_host >> [git_provider] che_host >> crd_workspace - che_host >> postgres filename = file_path + 'devfile-registry-interactions' with Diagram(filename=filename, From 8e306afee857582a00928a06c60d5d3c0b62fd87 Mon Sep 17 00:00:00 2001 From: deerskindoll Date: Thu, 29 Aug 2024 12:47:32 +0200 Subject: [PATCH 3/3] removed postgressql --- .../calculating-che-resource-requirements.adoc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/modules/administration-guide/pages/calculating-che-resource-requirements.adoc b/modules/administration-guide/pages/calculating-che-resource-requirements.adoc index cfe1bc9f57..6991beaf16 100644 --- a/modules/administration-guide/pages/calculating-che-resource-requirements.adoc +++ b/modules/administration-guide/pages/calculating-che-resource-requirements.adoc @@ -64,14 +64,6 @@ The `tools` component of the devfile defines the following requests and limits: |4000 m |1000 m -|Database -|`workspace` -|`postgresql` -|128 MiB -|64 MiB -|1000 m -|10 m - |{prod-short} gateway |`workspace` |`che-gateway` @@ -81,10 +73,10 @@ The `tools` component of the devfile defines the following requests and limits: |50 m 3+>s|Total ->s|6.4 GiB ->s|640 MiB ->s|5500 m ->s|1060 m +>s|6.3 GiB +>s|576 MiB +>s|4500 m +>s|1050 m |=== ====