Skip to content

Commit d199482

Browse files
committed
Add bootstrap diagram
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent a7b6319 commit d199482

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/en/flux/installation/_index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,26 @@ and configures the controllers to sync the cluster(s) state from a Git repositor
111111
Besides installing the controllers, the bootstrap command pushes the Flux manifests
112112
to the Git repository and configures Flux to update itself from Git.
113113

114+
```mermaid
115+
sequenceDiagram
116+
actor me as admin
117+
participant cli as Flux<br><br>CLI
118+
participant kube as Kubernetes<br><br>API server
119+
participant flux as Flux<br><br>controllers
120+
participant git as Git<br><br>repository
121+
me->>cli: 1. flux bootstrap
122+
cli-->>git: 2. push install config
123+
cli->>kube: 3. install controllers
124+
cli-->>git: 4. set deploy key
125+
cli->>kube: 5. set private key
126+
cli-->>git: 6. push sync config
127+
cli->>kube: 7. apply sync config
128+
git-->>flux: 8. pull config
129+
flux->>kube: 9. reconcile
130+
kube->>cli: 10. report status
131+
cli->>me: 11. return status
132+
```
133+
114134
If the Flux controllers are present on the cluster, the bootstrap command will perform
115135
an upgrade if needed. Bootstrap is idempotent, it's safe to run the command as many times as you want.
116136

0 commit comments

Comments
 (0)