Unfortunately, I can't directly generate or send you a picture, but I can describe how to create a sequential diagram for the FluxCD Kustomizations in your setup step by step. You can use tools like PlantUML, Lucidchart, or Mermaid to visualize it.
Here’s an end-to-end schema description for your setup:
FluxCD Kustomizations Sequence Diagram
The diagram will represent the flow from Bootstrap Cluster to Management Cluster (MC) and how FluxCD manages the resources step by step.
Key Components in Your Setup:
Bootstrap Cluster:
A single-node Talos cluster running in Docker.
FluxCD is manually installed here.
Initializes the Management Cluster (MC).
Management Cluster (MC):
FluxCD manages itself and clusters via GitOps.
Core components like CNI, controllers, addons, and apps are deployed here.
Git Repository:
The configuration source for FluxCD (e.g., your homelab-clusters-fleet repository).
FluxCD pulls manifests and applies them to clusters.
Cluster Components:
CNI: Configures networking (e.g., Cilium).
Controllers: Manages workloads and cluster lifecycle.
Addons: Additional apps needed for cluster functionality.
Diagram Description (Steps)
Here’s the sequence of events:
Bootstrap Cluster Setup:
Bootstrap cluster is created manually with Talos (single node in Docker).
FluxCD is installed manually on the bootstrap cluster (via flux bootstrap command).
FluxCD starts syncing the clusters/bootstrap/ directory.
Management Cluster Initialization:
FluxCD uses manifests in clusters/bootstrap/ to initialize the Management Cluster (MC).
MC is created with Sidero and VMs provisioned by Terraform and Proxmox.
Management Cluster Self-Reconciliation:
FluxCD is deployed on the MC using manifests in clusters/bootstrap/20-talos-cluster.yaml.
Once the MC is up, FluxCD in the MC takes over reconciliation from the Bootstrap Cluster.
Workload Setup on MC:
FluxCD on the MC applies resources in the following order: