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

BC-8404 - Move tldraw config to issolate it from server config #1039

Merged
merged 7 commits into from
Dec 2, 2024
4 changes: 3 additions & 1 deletion ansible/group_vars/all/instance_config_all.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this is the place for all "newer" services that are not based on the api-configmap but which need default values to overwrite them from the values that are supplied from the app
# with other words this is a place for default values across all envs and stages that NEED to be overwritten from app defaults

API_HOST_URI: "http://api-svc:3030"
ROCKET_CHAT_URI: "http://rocketchat-svc:5000"
CALENDAR_URI: "http://calendar-svc:3000"
NEST_LOG_LEVEL: "info"
Expand Down Expand Up @@ -41,3 +41,5 @@ ERWINIDM_ADMIN_INGRESS_CLASS: management
ERWINIDM_ADMIN_CREATE_CERTIFICATE: true
ERWINIDM_ADMIN_TLS_AUTH_SECRET: erwinidm-tls-auth

TLDRAW_LOG_LEVEL: "info"
FEATURE_TLDRAW_ENABLED: "true"
8 changes: 8 additions & 0 deletions ansible/group_vars/production/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,11 @@ COMMON_CARTRIDGE_CPU_LIMITS: "1000m"
COMMON_CARTRIDGE_MEMORY_LIMITS: "2Gi"
COMMON_CARTRIDGE_CPU_REQUESTS: "100m"
COMMON_CARTRIDGE_MEMORY_REQUESTS: "2Gi"
TLDRAW_SERVER_CPU_LIMITS: "2000m"
TLDRAW_SERVER_CPU_REQUESTS: "100m"
TLDRAW_SERVER_MEMORY_LIMITS: "2Gi"
TLDRAW_SERVER_MEMORY_REQUESTS: "2Gi"
TLDRAW_SERVER_WORKER_CPU_LIMITS: "2000m"
TLDRAW_SERVER_WORKER_CPU_REQUESTS: "100m"
TLDRAW_SERVER_WORKER_MEMORY_LIMITS,: "2Gi"
TLDRAW_SERVER_WORKER_MEMORY_REQUESTS,: "2Gi"
8 changes: 8 additions & 0 deletions ansible/group_vars/reference/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,11 @@ COMMON_CARTRIDGE_CPU_LIMITS: "1000m"
COMMON_CARTRIDGE_MEMORY_LIMITS: "2Gi"
COMMON_CARTRIDGE_CPU_REQUESTS: "100m"
COMMON_CARTRIDGE_MEMORY_REQUESTS: "2Gi"
TLDRAW_SERVER_CPU_LIMITS: "2000m"
TLDRAW_SERVER_CPU_REQUESTS: "100m"
TLDRAW_SERVER_MEMORY_LIMITS: "2Gi"
TLDRAW_SERVER_MEMORY_REQUESTS: "2Gi"
TLDRAW_SERVER_WORKER_CPU_LIMITS: "2000m"
TLDRAW_SERVER_WORKER_CPU_REQUESTS: "100m"
TLDRAW_SERVER_WORKER_MEMORY_LIMITS,: "2Gi"
TLDRAW_SERVER_WORKER_MEMORY_REQUESTS,: "2Gi"
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ deployments_for_scaled_objects:
- name: board-collaboration-deployment
- name: common-cartridge-deployment
- name: clammit-deployment
# those 2 will be re-added when new tldraw stuff is enabled by default
# - tldraw-deployment
# - tldraw-worker-deployment
- name: tldraw-server-deployment
- name: tldraw-worker-deployment
- name: tldraw-client-deployment
- name: valkey-node
kind: StatefulSet
Expand Down