Skip to content

Commit

Permalink
fix: postgressql removed from docs (#2783)
Browse files Browse the repository at this point in the history
* removed postgressql

* removed postgressql

* removed postgressql
  • Loading branch information
deerskindoll committed Aug 29, 2024
1 parent fc58069 commit 978290e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
+
Expand Down Expand Up @@ -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`
Expand All @@ -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
|===
====

Expand Down
6 changes: 1 addition & 5 deletions tools/create_architecture_diagrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 978290e

Please sign in to comment.