Numbered cards for the text sections (1.1-1.3, 2, 4, 11, 12) on the overview, domain interfaces on the technical context, black-box descriptions for every building block, blocks mapped to nodes in the deployment view, crosscutting concepts on level 1, and a 1000-quality folder with the quality tree. The example test checks each section's card.
61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
schema_version: 1
|
|
diagram_type: architecture
|
|
meta:
|
|
title: Deployment - production
|
|
output: production.html
|
|
components:
|
|
- ref: engineer
|
|
pos: [40, 160]
|
|
size: [130, 60]
|
|
- id: ingress
|
|
type: security
|
|
label: Ingress
|
|
sublabel: TLS
|
|
pos: [250, 160]
|
|
size: [130, 60]
|
|
- ref: web
|
|
pos: [460, 60]
|
|
size: [130, 60]
|
|
- ref: api
|
|
pos: [460, 160]
|
|
size: [130, 60]
|
|
- ref: db
|
|
pos: [670, 160]
|
|
size: [130, 60]
|
|
- ref: backup-job
|
|
pos: [670, 360]
|
|
size: [130, 60]
|
|
- ref: idp
|
|
pos: [460, 460]
|
|
size: [130, 60]
|
|
- ref: object-store
|
|
pos: [880, 460]
|
|
size: [130, 60]
|
|
boundaries:
|
|
- kind: region
|
|
label: Company cluster
|
|
wraps: [ingress, web, api, db, backup-job]
|
|
- kind: security-group
|
|
label: App node pool
|
|
wraps: [web, api]
|
|
- kind: security-group
|
|
label: Data node
|
|
wraps: [db, backup-job]
|
|
connections:
|
|
- { from: engineer, to: ingress, label: HTTPS, variant: emphasis }
|
|
- { from: ingress, to: web, label: static }
|
|
- { from: ingress, to: api, label: /api, variant: emphasis }
|
|
- { from: api, to: db, label: SQL }
|
|
- { from: api, to: idp, label: OIDC, variant: security, labelAt: [525, 234] }
|
|
- { from: backup-job, to: db, label: dump }
|
|
- { from: backup-job, to: object-store, label: S3 }
|
|
cards:
|
|
- dot: slate
|
|
title: 7 Mapping
|
|
items:
|
|
- "Web App -> app node pool, nginx pod, namespace team-wiki"
|
|
- "Wiki API -> app node pool, 2 pods behind the ingress"
|
|
- "Database -> data node, PostgreSQL stateful set with volume"
|
|
- "Backup job -> data node, Kubernetes CronJob"
|
|
- "Attachments, backups -> company object storage buckets"
|