diff --git a/modules/administration-guide/pages/calculating-che-resource-requirements.adoc b/modules/administration-guide/pages/calculating-che-resource-requirements.adoc index b999f9f159..6991beaf16 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: + @@ -77,14 +64,6 @@ The `postgresql` component does not define any requests and limits and therefore |4000 m |1000 m -|Database -|`workspace` -|`postgresql` -|128 MiB -|64 MiB -|1000 m -|10 m - |{prod-short} gateway |`workspace` |`che-gateway` @@ -94,10 +73,10 @@ The `postgresql` component does not define any requests and limits and therefore |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 |=== ==== 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,