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