Post by Project Sveltos

811 followers

Most event-driven systems act within a single cluster: something happens, something is deployed to the same cluster. Sveltos extends this to the multi-cluster case. An event in š˜¤š˜­š˜¶š˜“š˜µš˜¦š˜³ š˜ˆ can trigger a deployment in š˜¤š˜­š˜¶š˜“š˜µš˜¦š˜³ š˜‰, or across an entire group of clusters matched by a selector. š—¦š—°š—²š—»š—®š—æš—¶š—¼: a Service of type š˜“š˜°š˜¢š˜„š˜‰š˜¢š˜­š˜¢š˜Æš˜¤š˜¦š˜³ is created in a workload cluster. The external IP needs to be registered as an allowed endpoint in a central gateway cluster. The Sveltos template has access to {{ .š˜™š˜¦š˜“š˜°š˜¶š˜³š˜¤š˜¦ }} (the Service that triggered the event), {{ .š˜Šš˜­š˜¶š˜“š˜µš˜¦š˜³ }} (the source cluster metadata), and {{ .š˜”š˜¢š˜µš˜¤š˜©š˜Ŗš˜Æš˜Øš˜™š˜¦š˜“š˜°š˜¶š˜³š˜¤š˜¦ }} (for ConfigMapGenerator output). This gives you the full context needed to construct a cross-cluster policy. š—§š—µš—² š˜š—¼š—½š—¼š—¹š—¼š—“š˜† š—¶š˜€ š—³š—¹š—²š˜…š—¶š—Æš—¹š—²: - One workload cluster → one gateway cluster (š˜„š˜¦š˜“š˜µš˜Ŗš˜Æš˜¢š˜µš˜Ŗš˜°š˜Æš˜Šš˜­š˜¶š˜“š˜µš˜¦š˜³) - Many workload clusters → one shared gateway (š˜„š˜¦š˜“š˜µš˜Ŗš˜Æš˜¢š˜µš˜Ŗš˜°š˜Æš˜Šš˜­š˜¶š˜“š˜µš˜¦š˜³š˜šš˜¦š˜­š˜¦š˜¤š˜µš˜°š˜³) - One event source → fan-out to multiple destination clusters This pattern recurs across many real architectures: service mesh federation, DNS registration, firewall rule propagation, central secrets distribution. The source cluster is the observer; the destination cluster is the actor. šŸ”— https://lnkd.in/dMtUcXCE #Kubernetes #MultiCluster #EventDriven #ServiceMesh #PlatformEngineering

Post contentPost contentPost content