Skip to content

Commit

Permalink
BC-7101 - collaboration service deployment (#859)
Browse files Browse the repository at this point in the history
Implement a deployment for the BoardCollaboration-WebSocket-Server.
* initial setup of board collaboration
* add configuration for board collaboration uri
  • Loading branch information
hoeppner-dataport authored May 7, 2024
1 parent 1a7dbf0 commit f309cf3
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ansible/group_vars/all/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,11 @@ configuration_all:
server: true
client: false
nuxtclient: false
BOARD_COLLABORATION_URI:
value: "wss://{{ DOMAIN }}"
server: true
client: false
nuxtclient: true
FEATURE_NEW_LAYOUT_ENABLED:
value: "false"
server: true
Expand Down
1 change: 1 addition & 0 deletions ansible/group_vars/all/with.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ WITH_TLDRAW: true
WITH_API_ADMIN: true
WITH_MOIN_SCHULE: false
WITH_UNSYNCED_ENTITIES_DELETION: false
WITH_BOARD_COLLABORATION: false
WITH_MIGRATION_SYSTEMS: false
4 changes: 4 additions & 0 deletions ansible/group_vars/develop/cfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ ADMIN_API_SERVER_REPLICAS: 1

SC_DEFAULT_STORAGE_CLASS_NAME: "nfs-client"

FEATURE_COLUMN_BOARD_SOCKET_ENABLED: "true"

BOARD_COLLABORATION_SERVER_REPLICAS: 1

FEATURE_NEW_LAYOUT_ENABLED: "true"
1 change: 1 addition & 0 deletions ansible/group_vars/develop/with.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ WITH_ERWINIDM: true
WITH_OIDCMOCK: true
WITH_H5P_LIBRARY_MANAGEMENT: true
WITH_H5P_EDITOR: true
WITH_BOARD_COLLABORATION: true
4 changes: 4 additions & 0 deletions ansible/group_vars/production/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ ADMIN_API_SERVER_CPU_LIMITS: "2000m"
ADMIN_API_SERVER_MEMORY_LIMITS: "4Gi"
ADMIN_API_SERVER_CPU_REQUESTS: "100m"
ADMIN_API_SERVER_MEMORY_REQUESTS: "4Gi"
BOARD_COLLABORATION_CPU_LIMITS: "2000m"
BOARD_COLLABORATION_MEMORY_LIMITS: "2Gi"
BOARD_COLLABORATION_CPU_REQUESTS: "100m"
BOARD_COLLABORATION_MEMORY_REQUESTS: "2Gi"
5 changes: 4 additions & 1 deletion ansible/group_vars/reference/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,7 @@ ADMIN_API_SERVER_CPU_LIMITS: "2000m"
ADMIN_API_SERVER_MEMORY_LIMITS: "4Gi"
ADMIN_API_SERVER_CPU_REQUESTS: "100m"
ADMIN_API_SERVER_MEMORY_REQUESTS: "4Gi"

BOARD_COLLABORATION_CPU_LIMITS: "2000m"
BOARD_COLLABORATION_MEMORY_LIMITS: "2Gi"
BOARD_COLLABORATION_CPU_REQUESTS: "500m"
BOARD_COLLABORATION_MEMORY_REQUESTS: "2Gi"
1 change: 1 addition & 0 deletions ansible/host_vars/prod-brb/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 12
ADMIN_API_SERVER_REPLICAS: 3
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/prod-dbc/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 12
ADMIN_API_SERVER_REPLICAS: 3
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/prod-nbc/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 12
ADMIN_API_SERVER_REPLICAS: 3
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/prod-thr/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 12
ADMIN_API_SERVER_REPLICAS: 3
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/ref-audit/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ AMQP_FILE_STORAGE_REPLICAS: 3
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 3
ADMIN_API_SERVER_REPLICAS: 1
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/ref-brb/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 3
ADMIN_API_SERVER_REPLICAS: 1
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/ref-dbc/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 3
ADMIN_API_SERVER_REPLICAS: 1
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/ref-nbc/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 3
ADMIN_API_SERVER_REPLICAS: 1
BOARD_COLLABORATION_SERVER_REPLICAS: 3
1 change: 1 addition & 0 deletions ansible/host_vars/ref-thr/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT: 5
TLDRAW_CLIENT_REPLICAS: 3
TLDRAW_SERVER_REPLICAS: 3
ADMIN_API_SERVER_REPLICAS: 1
BOARD_COLLABORATION_SERVER_REPLICAS: 3
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ deployments_for_scaled_objects:
- tldraw-client-deployment
- mailcatcher-deployment
- maildrop-deployment
- board-collaboration-deployment

0 comments on commit f309cf3

Please sign in to comment.