Skip to content

Commit f3ce4db

Browse files
authored
fix: postgressql removed from docs (#2783)
* removed postgressql * removed postgressql * removed postgressql
1 parent 70b4463 commit f3ce4db

File tree

2 files changed

+5
-30
lines changed

2 files changed

+5
-30
lines changed

modules/administration-guide/pages/calculating-che-resource-requirements.adoc

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ The `tools` component of the devfile defines the following requests and limits:
3131
cpuLimit: 4000m
3232
----
3333
====
34-
+
35-
.`postgresql`
36-
====
37-
The `postgresql` component does not define any requests and limits and therefore falls back on the defaults for the dedicated container:
38-
39-
[source,yaml,subs="+attributes,+quotes,macros"]
40-
----
41-
memoryLimit: 128M
42-
memoryRequest: 64M
43-
cpuRequest: 10m
44-
cpuLimit: 1000m
45-
----
46-
====
4734

4835
** During the workspace startup, an internal `che-gateway` container is implicitly provisioned with the following requests and limits:
4936
+
@@ -77,14 +64,6 @@ The `postgresql` component does not define any requests and limits and therefore
7764
|4000 m
7865
|1000 m
7966
80-
|Database
81-
|`workspace`
82-
|`postgresql`
83-
|128 MiB
84-
|64 MiB
85-
|1000 m
86-
|10 m
87-
8867
|{prod-short} gateway
8968
|`workspace`
9069
|`che-gateway`
@@ -94,10 +73,10 @@ The `postgresql` component does not define any requests and limits and therefore
9473
|50 m
9574
9675
3+>s|Total
97-
>s|6.4 GiB
98-
>s|640 MiB
99-
>s|5500 m
100-
>s|1060 m
76+
>s|6.3 GiB
77+
>s|576 MiB
78+
>s|4500 m
79+
>s|1050 m
10180
|===
10281
====
10382

tools/create_architecture_diagrams.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from diagrams.custom import Custom
1616
from diagrams.k8s.controlplane import APIServer
1717
from diagrams.k8s.rbac import User
18-
from diagrams.onprem.database import PostgreSQL
1918
from diagrams.onprem.network import Traefik
2019
from diagrams.onprem.vcs import Git
2120
from diagrams.outscale.compute import Compute
@@ -61,14 +60,13 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name):
6160
devfile_registries = SimpleStorageService('Devfile registries')
6261
che_host = Custom(prod_short + ' server', icon_path=prod_icon)
6362
git = Git('Git provider')
64-
postgres = PostgreSQL('PostgreSQL')
6563
plugin_registry = SimpleStorageService('Plug-in registry')
6664
kubernetes_api = APIServer(orchestrator_name + ' API')
6765
user = User('User browser')
6866
user >> che_gateway
6967
che_gateway >> [che_dashboard, devfile_registries, che_host,
7068
plugin_registry, kubernetes_api]
71-
che_host >> [postgres, git]
69+
che_host >> [git]
7270

7371
filename = file_path + 'gateway-interactions'
7472
with Diagram(filename=filename,
@@ -106,14 +104,12 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name):
106104
direction="TB",
107105
graph_attr=graph_attr):
108106
che_host = Custom(prod_short + ' server', icon_path=prod_icon)
109-
postgres = PostgreSQL('PostgreSQL')
110107
git_provider = Git('Git provider')
111108
crd_workspace = APIServer('API')
112109
che_dashboard = Custom('User dashboard', icon_path=prod_icon)
113110
che_dashboard >> che_host
114111
che_host >> [git_provider]
115112
che_host >> crd_workspace
116-
che_host >> postgres
117113

118114
filename = file_path + 'devfile-registry-interactions'
119115
with Diagram(filename=filename,

0 commit comments

Comments
 (0)