Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: postgressql removed from docs #2783

Merged
merged 3 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading