forked from cloudogu/k8s-diagrams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitops-with-app-repo.puml
89 lines (69 loc) · 2.23 KB
/
gitops-with-app-repo.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@startuml
!includeurl https://raw.githubusercontent.com/michiel/plantuml-kubernetes-sprites/master/resource/k8s-sprites-unlabeled-full.iuml
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.0.0
!includeurl ICONURL/common.puml
!includeurl ICONURL/devicons/docker.puml
!includeurl ICONURL/devicons/git.puml
!includeurl ICONURL/font-awesome-5/jenkins.puml
!includeurl ICONURL/font-awesome-5/sync.puml
!define CLOUDOGUURL https://raw.githubusercontent.com/cloudogu/plantuml-cloudogu-sprites/master
!includeurl CLOUDOGUURL/tools/k8s.puml
!includeurl CLOUDOGUURL/dogus/cloudogu.puml
!define CLOUDOGU_BLUE #23a3dd
!define COLOR_ABOVE_TRANSPARENT_BACKGROUND BLACK
' Remove this line for transparent background
skinparam backgroundColor WHITE
title <color:blue><$k8s></color> **GitOps (with Application Repo)**<color:blue><$k8s></color>\n
skinparam actorStyle awesome
actor Developer as user
together {
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nGitOps Repo" as configRepo
}
rectangle "<$jenkins>\nCI Server" as ciServer
rectangle "<$docker>\nOCI Registry" as registry
rectangle "<$k8s>\nK8s Cluster" as k8s {
rectangle "<$sync>\nGitOps\noperator" as operator
rectangle "<$k8s>\nAPI-Server" as apiServer
rectangle "<$k8s>\nkubelet" as kubelet
}
user -> appRepo : push
appRepo <-- ciServer : pull
configRepo <-- ciServer : push
ciServer -> registry : push
configRepo <- operator : pull
operator -> apiServer : deploy
kubelet -> registry : pull
apiServer <- kubelet : watch
legend
<color:#23a3dd><$cloudogu></color> [[https://cloudogu.com cloudogu.com]]
end legend
skinparam arrow {
Color COLOR_ABOVE_TRANSPARENT_BACKGROUND
FontColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
}
skinparam actor {
BackgroundColor CLOUDOGU_BLUE
BorderColor #16688d
FontColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
}
skinparam rectangle {
BackgroundColor CLOUDOGU_BLUE
BorderColor #16688d
FontColor WHITE
backgroundColor<<node>> WHITE
FontColor<<node>> CLOUDOGU_BLUE
}
skinparam interface {
BackgroundColor WHITE
BorderColor #16688d
}
skinparam note {
BackgroundColor WHITE
BorderColor #16688d
}
skinparam legend {
BackgroundColor WHITE
BorderColor #16688d
}
@enduml