Skip to main content

M3_KEY_PLACEMENT

Constant M3_KEY_PLACEMENT 

Source
pub const M3_KEY_PLACEMENT: &str = "placement";
Expand description

Canonical YAML key for the M3 :placement slot’s overlay on a rendered programs.yaml entry. The lareira-fleet-programs aggregator (and the future app-operator per-Aplicacao reconciler) both key off this exact spelling to filter entries by placement.clusters for cross-cluster fanout (MESH-COMPOSITION §III.4) and to dispatch on placement.estrategia for distributed-app takeover semantics (§II.1, §V cross-cluster federation). Lifted as a const alongside the M2 keys so the Aplicacao-side renderer (crate::aplicacao::Placement → caixa-mesh programs_for_aplicacao) and every consumer (the M4 cluster-fanout renderer, the future mesh.pleme.io/v1alpha1/Aplicacao CR materializer, the app-operator’s placement-strategy dispatcher) spell the same key exactly the same way — drift here = a programs.yaml entry whose placement is silently dropped at the aggregator’s filter step (visible only as “the workload doesn’t land where the typed slot said it should”).