Open geropl opened 2 years ago
After discucssion with @csweichell we went with a variation of 2:
basic changes
governedBy
column: to maintain full rollback capability for webappgpl clusters update / register
have bridge
set governedBy
to installationShortname
if governedBy is not set: decouples webapp deployment from workspace cluster deployments (which can still use the old contract in their deploymentsClientProvider
can handle multiple entries with the same name for workspace-actions (ports, stop, etc.)merge DBs
d_b_workspace_cluster
tables is identical in both DBs (except for govern
)gp clusters update / register
to only be executed once, against one cluster onlycleanup
govern
flagThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Epic: #7435
Currently have one DB per application cluster, and we're holding a
d_b_workspace_cluster
table in every DB separately. This works because we're copying the cluster configuration, and in theory adds additional flexibility for configuring traffic flow. The application cluster -> workspace cluster relation is so far maintained implicitly by DB locality.This obviously breaks if we move to a single DB setup. There are two possible solutions to this:
appInstallation
column to mark those rows to belong to the respective application clustergovernedBy
column (and later remove thegoverned
flag), which expresses which app cluster governs which ws cluster. This would result in one row per workspace cluster, having all app clusters share the same traffic-shaping config.