diff --git a/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/_assets/deployment-c4.png b/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/_assets/deployment-c4.png new file mode 100644 index 0000000..4c58038 Binary files /dev/null and b/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/_assets/deployment-c4.png differ diff --git a/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/index.md b/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/index.md index 13b6a30..2f0949a 100644 --- a/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/index.md +++ b/docs/technical-documentation/architecture/design/prototype-forgejo-as-a-service/index.md @@ -27,6 +27,10 @@ History: ## Overall +### Deployment + +![alt text](./_assets/deployment-c4.png) + ### Architecture ![alt text](./_assets/EDPForgejoArch1.svg) diff --git a/likec4/deployment/otc/faas-deployment.c4 b/likec4/deployment/otc/faas-deployment.c4 new file mode 100644 index 0000000..173750c --- /dev/null +++ b/likec4/deployment/otc/faas-deployment.c4 @@ -0,0 +1,70 @@ +deployment { + + cloud otc-faas 'OTC prototype FaaS' { + description 'OTC environments for Prototype faaS. + ' + technology 'OTC' + + environment dev 'tenant Dev' { + description '*.t09.de' + technology 'OTC' + + kubernetes cce 'Central Forgejo' { + description '*.t09.de' + icon tech:kubernetes + technology 'Kubernetes' + + cluster edp 'EDP' { + + instanceOf edp.forgejo { + -> cloudServices + } + } + } + + paas cloudServices 'EDP Cloud Services' { + description 'EDP Cloud Services (Postgres, Redis, etc.' + technology 'Cloud Services' + } + + kubernetes observability 'Observability' { + description '*.t09.de' + icon tech:kubernetes + technology 'Kubernetes' + } + } + + environment prod 'Tenant Prod' { + description '*.buildth.ing' + technology 'OTC' + + kubernetes cce 'Central Forgejo' { + description '*.buildth.ing' + icon tech:kubernetes + technology 'Kubernetes' + + cluster edp 'EDP' { + + instanceOf edp.forgejo { + -> cloudServices + } + } + } + + + paas cloudServices 'EDP Cloud Services' { + description 'EDP Cloud Services (Postgres, Redis, etc.' + technology 'Cloud Services' + } + + kubernetes observability 'Observability' { + description '*.t09.de' + icon tech:kubernetes + technology 'Kubernetes' + + } + } + + + } +} \ No newline at end of file diff --git a/likec4/views/deployment/otc/otc-faas.c4 b/likec4/views/deployment/otc/otc-faas.c4 new file mode 100644 index 0000000..4ba87eb --- /dev/null +++ b/likec4/views/deployment/otc/otc-faas.c4 @@ -0,0 +1,24 @@ +views { + deployment view otc-faas { + title 'OTC Prototype FaaS' + + include + otc-faas, + otc-faas.*, + otc-faas.dev, + otc-faas.dev.*, + otc-faas.dev.cce, + otc-faas.dev.cce.*, + otc-faas.prod, + otc-faas.prod.*, + otc-faas.prod.cce, + otc-faas.prod.cce.*, + style otc-edp-per-tenant { + color slate + } + style otc-edp-per-tenant.cce { + color red + } + } +} +