forked from eshepelyuk/cmak-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharch.puml
31 lines (27 loc) · 784 Bytes
/
arch.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@startuml
skinparam componentStyle uml2
cloud "Kubernetes cluster" {
component "CronJob\ncontroller" as cron <<K8S>>
() "CMAK UI" as ui <<ServicePort>>
package "CMAK namespace" as ns {
frame "CMAK" as pod <<Pod>> {
component CMAK as cmak <<Container>>
component Zookeeper as zk <<Container>>
cmak -r(0- zk : CMAK settings\nstored in ZK
}
frame "Reconciliation" as cronPod <<CronJob>> {
component script <<Container>> [
yaml2zk
====
1. compare ConfigMap to ZK
2. optionally update ZK
]
component "Kafka settings" as cm <<ConfigMap>>
script .r.> cm : reads data
}
}
cron .l.> cronPod : periodically\nschedules
script .d.> zk : upserts settings to ZK nodes
ui -r- cmak
}
@enduml