mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2025-09-06 02:30:43 +00:00
Clear History
This commit is contained in:
24
thesis/diagrams/link_lifecycle.mmd
Normal file
24
thesis/diagrams/link_lifecycle.mmd
Normal file
@@ -0,0 +1,24 @@
|
||||
stateDiagram-v2
|
||||
|
||||
direction LR
|
||||
|
||||
state Creation {
|
||||
state "NetworkChaos" as nc0
|
||||
state "Labels" as l0
|
||||
[*] --> nc0: Create and adopt
|
||||
nc0 --> l0: Patch
|
||||
l0 --> [*]
|
||||
}
|
||||
[*] --> Creation
|
||||
|
||||
Creation --> Running
|
||||
|
||||
state Deletion {
|
||||
state "NetworkChaos" as nc1
|
||||
state "Labels" as l1
|
||||
[*] --> l1: Cascade deletion
|
||||
l1 --> nc1: Patch
|
||||
nc1 --> [*]
|
||||
}
|
||||
Running --> Deletion
|
||||
Deletion --> [*]
|
24
thesis/diagrams/node.mmd
Normal file
24
thesis/diagrams/node.mmd
Normal file
@@ -0,0 +1,24 @@
|
||||
stateDiagram-v2
|
||||
direction LR
|
||||
[*] --> Creation
|
||||
state Creation {
|
||||
state f0 <<fork>>
|
||||
state j0 <<join>>
|
||||
[*] --> f0: Preparation
|
||||
f0 --> j0: Deployment
|
||||
f0 --> j0: Service
|
||||
f0 --> j0: NetworkPolicy
|
||||
j0 --> [*]: Ready
|
||||
}
|
||||
Creation --> Running
|
||||
Running --> Deletion
|
||||
state Deletion {
|
||||
state f1 <<fork>>
|
||||
state j1 <<join>>
|
||||
[*] --> f1: Cascading deletion
|
||||
f1 --> j1: Deployment
|
||||
f1 --> j1: Service
|
||||
f1 --> j1: NetworkPolicy
|
||||
j1 --> [*]
|
||||
}
|
||||
Deletion --> [*]
|
9
thesis/diagrams/scenario.mmd
Normal file
9
thesis/diagrams/scenario.mmd
Normal file
@@ -0,0 +1,9 @@
|
||||
stateDiagram-v2
|
||||
state "Daemon Running" as d {
|
||||
[*] --> Loop: Start daemon
|
||||
Loop --> Loop: Node event
|
||||
Loop --> Loop: Link event
|
||||
Loop --> [*]: End event and exit daemon
|
||||
}
|
||||
[*] --> d: CRD Created
|
||||
d --> [*]: Ended
|
32
thesis/diagrams/scenario_fields.mmd
Normal file
32
thesis/diagrams/scenario_fields.mmd
Normal file
@@ -0,0 +1,32 @@
|
||||
stateDiagram-v2
|
||||
|
||||
state "Daemon Loop" as loop {
|
||||
state a <<choice>>
|
||||
[*] --> action
|
||||
action --> a
|
||||
|
||||
state "Execute event" as exec
|
||||
note right of exec
|
||||
status.events[i].executed = timestamp
|
||||
end note
|
||||
|
||||
|
||||
a --> exec: node
|
||||
a --> exec: link
|
||||
a --> [*]: end
|
||||
}
|
||||
|
||||
state "Created" as c
|
||||
note left of c
|
||||
status.created = timestamp
|
||||
end note
|
||||
|
||||
state "Finished" as done
|
||||
note left of done
|
||||
status.ended = timestamp
|
||||
end note
|
||||
|
||||
[*] --> c
|
||||
c --> loop
|
||||
loop --> done
|
||||
done --> [*]
|
Reference in New Issue
Block a user