External stacks
A shared platform stack, several product stacks and a central observability stack are separate systems. Each keeps its own graph, lifecycle, history and validation. A cell published by one can be drawn in another, and the links to it generate the cross-stack configuration.
Publishing and copying a cell
A system is published with the eye icon on its card. Its components are then offered under External systems on the design page of everyone who has a role on it. A published system with a pending catalog change is not offered until it is synchronized.
Once copies exist:
| Direction | Behaviour |
|---|---|
| A copy is added elsewhere | The origin records that another system holds a copy |
| The origin changes | Name, type, group, attributes, added sub-components and links are propagated into every copy |
| The origin loses something | The copies lose it too, along with the links that depended on it |
| A copy is removed | The origin stops listing that system |
Cross-system references are resolved by the system's title. Renaming a system that other designs reference breaks those references without a warning.
What a build does with copies
When a system that shares cells is built, the build page first opens External & Referenced Components Build Settings:
| List | What it holds | What ticking does |
|---|---|---|
| External components | The copies on your canvas, taken from other systems | Ticking the component also renders it, creating its folder in your repository. Ticking Links imports the links it has in its own system: the components at its other ends are added, named <origin title>_<name> |
| Referenced components | For each of your cells that other systems copied, the components those systems linked to it | Ticking one renders it, creating its folder in your repository |
Ticked or not, all of them are written to stack-metadata.yaml, so your components' templates see
them at the other end of their links.
Two marks: external and referenced
Mark in stack-metadata.yaml | Meaning | How templates treat it |
|---|---|---|
is_external: true | The component lives in another cluster | Nothing is rendered in its name. A template with cross-stack handling connects to the address in an attribute instead of an in-cluster name |
is_referenced: true | A placeholder for another system's component | Rendered as a local component, as every other template would render it |
A template that has no cross-stack handling for a link treats the copy as local: it uses the copy's namespace and in-cluster service name. That only resolves when both stacks run in the same cluster.
Links that work across stacks
These are the links whose templates connect to another stack's address, and the attribute that carries it. It is the same list the network policy generator uses (below).
| Link | Where the other stack's address is | Typical use |
|---|---|---|
prometheus-prometheus | The remote Prometheus component's remote_host; the master's remote_alerts | Central metrics: every stack sends its metrics by remote write, labelled with its stack name |
alloy-loki | The Alloy component's remote_host (the full push URL) and the Loki api_key | Central logs: the tenant is the sending stack's name |
falco-opensearch, crowdsec-opensearch, trivy-opensearch, opa-opensearch, otel-opensearch, fastmcp-opensearch, external_source_code-opensearch | The link's remote_host | Central SIEM and search. suricata-opensearch reads remote_host too, but the network policy generator does not open its egress yet |
otel-clickhouse_db, grafana-clickhouse | The link's public_host | Central traces and analytics |
Airflow ETL links to and from clickhouse_db | The link's public_host | Data jobs against a central warehouse |
kanso-prometheus, kanso-loki, kanso-opensearch | The link's remote_host, when set | A work tracker that watches another stack |
external_secrets-openbao | The External Secrets component's secret_store_host | One secret store for several stacks |
argo_cd-argo_cd | The link's cluster_api_server | Central delivery: one Argo CD deploys other clusters |
prometheus-opensearch | The Prometheus component's remote_alerts | The central OpenSearch reads another stack's alerts |
Anything not in this list — a database, a bucket, an identity provider, a queue in another stack — renders as a local in-cluster address.
The common shapes
| Shape | On the graph | What it generates |
|---|---|---|
| Central metrics | Each application stack's Prometheus links prometheus-prometheus to the central one, marked prometheus_master | Remote write from every stack, each series labelled with the stack it came from; the central Prometheus accepts samples up to an hour late |
| Central dashboards | The central Grafana links to its Prometheus | One dashboard folder per stack whose metrics arrive |
| Central logs | Each stack's Alloy links alloy-loki to the central Loki | Logs pushed with the stack name as tenant; dashboards live on the central stack |
| Central SIEM | Each stack's Falco, CrowdSec, Trivy and OPA link to the central OpenSearch | One SIEM with every stack's security events |
| Central delivery | Each stack's Argo CD links argo_cd-argo_cd to the central one | The central Argo CD generates Applications per managed cluster, cluster by cluster |
| Shared services | A cell of another stack is drawn in your design | Generated through the template's cross-stack handling where it has one; otherwise as an in-cluster address that works only when both stacks share a cluster |
Network policies across stacks
The network policy generator handles the two directions of a cross-stack link differently.
| Direction | What is generated |
|---|---|
| Into this stack, through its gateway | A link from another stack's component into a local one, with remote_host pointing at this stack's gateway, opens gateway → target on the port the gateway route to that component type uses. The build log and networkpolicy-manifest.json (cross_stack) list every such rule |
| Out of this stack | A local pod that connects to another stack's address gets egress on that address's port, read from the attribute in the table above. When the address is an IP, only that IP is opened. When it is a host name, the port is opened to any destination, because a network policy cannot match names. The policy annotation stacktic.io/cross-stack-hosts, the build log and the manifest (cross_stack_outbound) name every opened host |
| A cross-stack link with no address | Warned in the build log and listed under cross_stack_unaddressed in the manifest |
A stack without cross-stack links renders exactly what it rendered before. In the strict regulated
set (microsegmentation_level: pci_dss_strict), these explicit rules are what keeps cross-stack
connections working without a blanket internet egress — see
Network policies.