website-and-documentation/resources/likec4/deployment/otc/foundry.c4
Stephan Lo 286b427ed8 feat(architecture): migrate LikeC4 models from edp-doc with Git history
Port the complete LikeC4 architecture documentation from the edp-doc
repository to this repository, establishing it as the primary source
for C4 architecture models.

Migration Details:
- Migrated all C4 models from edp-doc/docs/likec4 to resources/likec4/
- Preserved Git history using git filter-branch and git read-tree
- Includes 54 C4 source files covering deployment, components, and views
- Updated LikeC4 to v1.42.1 (from deprecated v0.40.0)

Directory Structure:
- resources/likec4/models/ - C4 model definitions (components, containers, context, code)
- resources/likec4/views/ - View definitions (deployment, EDP, high-level concepts, dynamic)
- resources/likec4/deployment/ - Deployment-specific models (KIND, OTC)
- resources/likec4/doc/ - Documentation and screenshots

Architecture Coverage:
- OTC FaaS deployment architecture
- EDP component and container models
- Developer landscape and workflows
- GitOps inner/outer loop processes
- Infrastructure components (ArgoCD, Forgejo, Keycloak, Crossplane, etc.)

Dependencies:
- likec4@1.42.1
- @likec4/cli@0.40.0

This migration makes the ipceicis-developerframework repository the
authoritative source for architecture documentation. The edp-doc
repository may reference these models via git submodule if needed.

Related: Migration from https://edp.buildth.ing/DevFW/edp-doc
2025-10-24 13:08:28 +02:00

74 lines
2.3 KiB
Text

// Deployment model
deployment {
cloud otc-edpFoundry 'OTC EDP Foundry Central Service clusters' {
description '
OTC environments for the central EDP Foundry services. This is kubernetes clusters and other infrastructure like nodes and vms, and optionally platform services. All is set up by IaC terraform and edpbuilder.
A tenant is a folder in Foundry-Config-Forgejo. On merge triggers reconciliation to EDP.
Optionally we will have a WebUI/API/CLI
'
technology 'OTC'
kubernetes cce 'OTC CCE' {
description 'OTC Container Cluster Engine'
icon tech:kubernetes
technology 'Kubernetes'
cluster internalServices 'EDP Foundry Internal Services' {
instanceOf edp.argoCD
instanceOf edp.forgejo {
-> workflowSetupEDPInfrastructure.forgejoRunner 'invokes'
-> workflowSetupArgoCDInfrastructure.forgejoRunner 'invokes'
}
instanceOf edp.externalSecrets
instanceOf edp.openbao
instanceOf edp.ingressNginx
}
cluster centralObservability 'EDP Foundry Central Observability' {
instanceOf edp.grafana
instanceOf edp.prometheus
instanceOf edp.loki
}
}
computeressource workflowSetupEDPInfrastructure 'EDP infrastructure Workflow' {
description 'EDP infrastructure Workflow'
instanceOf forgejoRunner {
-> forgejoRunnerWorker 'runs'
}
instanceOf forgejoRunnerWorker {
-> edpworkflow 'executes'
}
instanceOf edpworkflow {
-> otc-edp-per-tenant.cce.edp 'deploys edp to otc.cce'
-> otc-edp-per-tenant.cloudServices 'deploys edp to otc.paas'
}
}
computeressource workflowSetupArgoCDInfrastructure 'EDP ArgoCD Workflow' {
description 'EDP Setup ArgoCD Workflow'
instanceOf forgejoRunner {
-> forgejoRunnerWorker 'runs'
}
instanceOf forgejoRunnerWorker {
-> edpworkflow 'executes'
}
instanceOf edpworkflow {
-> otc-edp-per-tenant.cce.argoCD
}
}
computeressource forgejoRunnerInfrastructure 'EDP ForgejoRunner infrastructure' {
description 'Infrastructure for Forgejo runners like pods, vms, lxds, etc'
instanceOf forgejoRunner {
-> cce.internalServices.forgejo 'registers'
}
}
}
}