Replications

Replicate resources across tenants or namespaces

Capsule provides two dedicated Custom Resource Definitions for propagating Kubernetes resources across Tenant Namespaces, covering both the cluster administrator and Tenant owner personas:

  • GlobalTenantResource — cluster-scoped, managed by cluster administrators. Selects Tenants by label and replicates resources into all matching Tenant Namespaces.
  • TenantResource — namespace-scoped, managed by Tenant owners. Replicates resources across the Namespaces within a single Tenant.

Both CRDs follow the same structure: resources are defined in spec.resources blocks, reconciled on a configurable resyncPeriod, and support Go-template-based generators for dynamic resource creation.


GlobalTenantResources

Replicate resources across tenants or namespaces as Cluster Administrator.

TenantResources

Replicate resources across a Tenant’s Namespaces as Tenant Owner

Last modified February 28, 2026: rewrite replications for clarity (309fc55)