Sveltos: install on mini + bootstrap cluster registration (static SA) #1531
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters#1531
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sveltos: install on mini + bootstrap cluster registration (static SA)
Sveltos is the fleet-management layer for tofu-rendered infrastructure
(research #1529). To start using it we must install it on mini and register the
fleet clusters. This ticket covers the one-time bootstrap; the OIDC migration
is a separate ticket (#1530).
Install Sveltos on mini (management cluster)
ClusterProfiles are already staged inert in
sveltos/(PR #1526) and theCRDs must land before those profiles are wired in (Flux root build fails
on unknown CRDs — the ordering gate documented there).
mgmt/mgmt— add thesveltos.io/...labels per the iac cluster registry so mini itself matchesthe fleet ClusterProfiles.
Bootstrap fleet cluster registration (static SA, one-time manual)
Mirroring
argocd cluster add(Argo CD's bootstrap SA), register each fleetcluster with a static cluster-admin SA first:
sveltosctl generate kubeconfig --createagainst the managed cluster(creates a cluster-admin SA + kubeconfig).
sveltosctl register cluster --namespace=<ns> --cluster=<name> --kubeconfig=<file> --labels=<labels>against the Sveltos managementcluster (mini), with labels from the iac cluster registry
(
lab/iac/apps/clusters.yaml,clusters.<name>.sveltos).Programmatic equivalent (for git/automation):
<cluster>-sveltos-kubeconfig(data.kubeconfig) +SveltosClusterCR (label
sveltos-agent: present) in the management cluster.Clusters: mini (via mgmt registration), portable, remote. mx2/localhost and
the incoming firewalled cluster: registered when they first host catalog
apps; the firewalled cluster's reachability is T13 (lab/iac#28).
After bootstrap
./sveltosinto mini's build → the staged ClusterProfiles go live →delete the now-redundant per-cluster pointer files
(
clusters/{mini,portable,remote}/vault-secrets-operator.yaml, the ESOHelmRelease sets, standard-cluster Kustomizations) — per
lab/iac/plans/sveltos-flux-integration.md.sveltosctl show addonsshould list the fleet and the deployed addons.Deliverables
sveltosctl show addonsgreen across the fleetDepends on / linked
Placement question raised by the new portable-offload plan (2026-08-18,
plans/portable-offload-migration.md+ #1537):The offload vision makes portable the fleet's head management cluster. This ticket installs Sveltos on mini (per ADR-0002, which gives mini the headroom — portable is the resource-starved node). Those two readings can point at different homes for Sveltos.
Recommendation: keep Sveltos on mini (fleet-ops / manifest delivery), and let portable be head for identity (kanidm), secrets (vault), code (forgejo), registry (harbor), and the edge/ingress. That keeps the starved node light and matches ADR-0002.
If the intent is instead to pull Sveltos (and the other fleet-management control planes) onto portable, this ticket's install target flips — confirm which way it goes before #1531 lands.