Documentation
¶
Overview ¶
Package gantry implements the gantry peer-to-peer OCI distribution cluster component. Gantry runs one agent DaemonSet per node fronting containerd's image pulls, so it is reconciled as a cluster singleton. Unlike the other components it defaults to enabled: it is deployed unless every Site explicitly opts out via spec.components.gantry.enabled=false.
The unbounded agent manages the per-node containerd wiring, so the operator installs only the Gantry workload and its Kubernetes configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnabledFor ¶
func EnabledFor(site *unboundedv1alpha3.Site) bool
EnabledFor reports whether a Site enables the gantry component. Gantry defaults to enabled: only an explicit enabled=false opts a Site out.
Types ¶
type Component ¶
type Component struct{}
Component reconciles the gantry cluster singleton.
func (Component) ConditionType ¶
ConditionType implements component.ClusterComponent.
func (Component) Reconcile ¶
func (Component) Reconcile(ctx context.Context, env *component.Env, sites []unboundedv1alpha3.Site) component.Result
Reconcile deploys the gantry cluster singleton whenever at least one Site does not opt out and keeps an existing installation reconciled when every Site opts out.