Runtime Cloud — data model¶
Generated from the architecture model
This page is rendered from model/**/*.yaml by tools/docs_model during mkdocs build. Edit the YAML, not this page; hand-written design lives on the linked service, platform and plane pages.
IaCProvisioningService¶
erDiagram
DeploymentSpecification {
guid specificationId PK
string tenantId
string projectId
string environmentId
enum_SpecificationKind kind
string programRef
string programVersion
guid releaseId
string strategy
json configRefs
json secretRefs
int version
datetime declaredAt
}
ProvisioningRun {
guid provisioningRunId PK
string tenantId
string projectId
string environmentId
guid specificationId
int specificationVersion
enum_ProvisioningKind kind
guid promotionId
guid approvalId
json planReceipt
json applyReceipt
enum_ProvisioningState state
string logsRef
datetime startedAt
datetime completedAt
}
Hold "Alt" / "Option" to enable pan & zoom
Tables: dbo.DeploymentSpecifications, dbo.ProvisioningRuns — see the DDL appendix.
ExecutionCapacityService¶
erDiagram
WorkerPool {
string poolId PK
string tenantId
enum_PoolKind kind
string securityBoundary
string region
string nodeProfile
int minSize
int maxSize
int currentSize
decimal utilisation
enum_PoolState state
}
Quota {
guid quotaId PK
string tenantId
string projectId
int concurrentRuns
int concurrentSandboxes
decimal cpuPerAttempt
decimal memoryGbPerAttempt
int executionMinutesPerDay
string source
}
CapacityLease {
guid leaseId PK
string tenantId
string projectId
guid runId
guid attemptId
string holderKind
string holderId
string poolId
decimal cpu
decimal memoryGb
enum_LeaseState state
datetime grantedAt
datetime expiresAt
datetime releasedAt
}
Hold "Alt" / "Option" to enable pan & zoom
Tables: dbo.WorkerPools, dbo.Quotas, dbo.CapacityLeases — see the DDL appendix.
RuntimeEnvironmentService¶
erDiagram
RuntimeInventory {
string environmentId PK
string tenantId
string projectId
json workloads
guid currentReleaseId
int specificationVersion
datetime observedAt
bool stale
}
DriftFinding {
guid findingId PK
string tenantId
string environmentId
enum_DriftKind kind
string resource
json declared
json observed
datetime detectedAt
guid proposalId
datetime resolvedAt
}
ReconciliationProposal {
guid proposalId PK
string tenantId
string environmentId
list_guid findingIds
string direction
json planSummary
bool destructive
enum_ProposalState state
string decidedBy
guid provisioningRunId
datetime raisedAt
}
ObservedWorkload {
string name
enum_WorkloadKind kind
string version
int replicasReady
int replicasDesired
list_string endpoints
json configRefs
json secretRefs
string health
}
RuntimeInventory ||--o{ ObservedWorkload : contains
Hold "Alt" / "Option" to enable pan & zoom
ObservedWorkload (entity)¶
One observed workload.
| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
yes | |
kind |
enum:WorkloadKind |
yes | |
version |
string |
yes | |
replicasReady |
int |
yes | |
replicasDesired |
int |
yes | |
endpoints |
list:string |
yes | |
configRefs |
json |
yes | |
secretRefs |
json |
yes | |
health |
string |
yes |
Tables: dbo.RuntimeInventories, dbo.ObservedWorkloads, dbo.DriftFindings, dbo.ReconciliationProposals — see the DDL appendix.