Skip to main content

Multiple namespace mode config

vCluster creates a namespace in the host cluster for each namespace in the virtual cluster. vCluster modifies the Namespace name to avoid conflicts between multiple vCluster instances in the same host.

Generic sync, host to virtual cluster, requires this feature.

warning

Do not enable this feature in a running vCluster instance.

Loft Labs discourages using this feature due to weaker isolation and more management overhead.

Config reference

multiNamespaceMode required object pro

MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster.

enabled required boolean pro

Enabled specifies if multi namespace mode should get enabled

namespaceLabels required object pro

NamespaceLabels are extra labels that will be added by vCluster to each created namespace.