forked from DevFW-CICD/edp-doc
doc(c4): added deployment otc-edp-per-tenant
This commit is contained in:
parent
74171d38e2
commit
cf80000daf
6 changed files with 86 additions and 4 deletions
|
@ -1,17 +1,39 @@
|
|||
// Deployment model
|
||||
deployment {
|
||||
|
||||
cloud otc-edp 'OTC EDP clusters' {
|
||||
cloud otc-edp-per-tenant 'OTC EDP per tenant cluster' {
|
||||
description 'OTC cluster environment for EDP'
|
||||
technology 'OTC'
|
||||
icon tech:kubernetes
|
||||
|
||||
cluster kubernetes 'EDP Kubernetes Services' {
|
||||
|
||||
kubernetes cce 'OTC CCE' {
|
||||
description 'OTC Container Cluster Engine'
|
||||
icon tech:kubernetes
|
||||
technology 'Kubernetes'
|
||||
|
||||
cluster edp 'EDP' {
|
||||
instanceOf edp.argoCD
|
||||
instanceOf forgejoRunner
|
||||
instanceOf edp.forgejo {
|
||||
-> cloudServices.elasticsearch
|
||||
-> cloudServices.objectstorage
|
||||
-> cloudServices.postgres
|
||||
-> cloudServices.redis
|
||||
}
|
||||
instanceOf edp.externalSecrets
|
||||
instanceOf edp.ingressNginx
|
||||
}
|
||||
}
|
||||
|
||||
paas cloudServices 'EDP Cloud Services' {
|
||||
description 'EDP Cloud Services'
|
||||
technology 'Cloud Services'
|
||||
|
||||
instanceOf postgres
|
||||
instanceOf redis
|
||||
instanceOf objectstorage
|
||||
instanceOf elasticsearch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
13
likec4/models/containers/elasticsearch.c4
Normal file
13
likec4/models/containers/elasticsearch.c4
Normal file
|
@ -0,0 +1,13 @@
|
|||
model {
|
||||
|
||||
container elasticsearch 'Elasticsearch' {
|
||||
description '
|
||||
Elasticsearch is a distributed, RESTful search and analytics engine capable of
|
||||
addressing a growing number of use cases. It centrally stores your data so you can
|
||||
discover the expected and uncover the unexpected.
|
||||
'
|
||||
icon tech:elasticsearch
|
||||
technology 'Elasticsearch'
|
||||
}
|
||||
|
||||
}
|
8
likec4/models/containers/objectstorage.c4
Normal file
8
likec4/models/containers/objectstorage.c4
Normal file
|
@ -0,0 +1,8 @@
|
|||
model {
|
||||
|
||||
container objectstorage 's3 Object Storage' {
|
||||
description 's3 Object Storage'
|
||||
technology 'S3 Object Storage'
|
||||
}
|
||||
|
||||
}
|
13
likec4/models/containers/postgres.c4
Normal file
13
likec4/models/containers/postgres.c4
Normal file
|
@ -0,0 +1,13 @@
|
|||
model {
|
||||
|
||||
container postgres 'PostgreSQL' {
|
||||
description '
|
||||
PostgreSQL is a powerful, open source object-relational database system.
|
||||
It has more than 15 years of active development and a proven architecture
|
||||
that has earned it a strong reputation for reliability, data integrity,
|
||||
and correctness.'
|
||||
icon tech:postgresql
|
||||
technology 'PostgreSQL'
|
||||
}
|
||||
|
||||
}
|
9
likec4/models/containers/redis.c4
Normal file
9
likec4/models/containers/redis.c4
Normal file
|
@ -0,0 +1,9 @@
|
|||
model {
|
||||
|
||||
container redis 'Redis' {
|
||||
description 'Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.'
|
||||
icon tech:redis
|
||||
technology 'Redis'
|
||||
}
|
||||
|
||||
}
|
17
likec4/views/deployment/otc/edp-per-tenant.c4
Normal file
17
likec4/views/deployment/otc/edp-per-tenant.c4
Normal file
|
@ -0,0 +1,17 @@
|
|||
views {
|
||||
deployment view edp-per-tenant {
|
||||
title 'EDP per tenant'
|
||||
|
||||
include
|
||||
otc-edp-per-tenant,
|
||||
otc-edp-per-tenant.*,
|
||||
otc-edp-per-tenant.cce,
|
||||
otc-edp-per-tenant.cce.*,
|
||||
otc-edp-per-tenant.cce.**,
|
||||
otc-edp-per-tenant.cce.forgejoRunner,
|
||||
otc-edp-per-tenant.cce.externalSecrets,
|
||||
otc-edp-per-tenant.cloudServices,
|
||||
otc-edp-per-tenant.cloudServices.*
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue