Overview
By default, all organizations share the same Kubernetes namespace (defined byK8S_NAMESPACE). Multi-org namespace isolation allows each organization to use a dedicated namespace, providing stronger isolation between organizations.
This feature is optional. Organizations that do not require isolation will continue using the shared namespace as before.
Prerequisites
K8S_NAMESPACEenvironment variable is set in your Helm values (e.g.,crewai)- The
k8s_namespace_isolationFlipper feature flag is enabled globally
Enable the Feature Flag
Namespace Naming Convention
When isolation is enabled, each organization gets a dedicated namespace using the format:K8S_NAMESPACE=crewai and the organization ID is 4, the namespace will be crewai-org-4.
You can find the organization ID and the expected namespace name on the organization’s admin page in the warning banner.
Setting Up a New Organization Namespace
For each organization that will use namespace isolation, perform the following steps:1. Create the Namespace
2. Grant the Service Account Access
The platform’s service account needs permissions to manage resources in the new namespace:3. Copy the Registry Secret
The new namespace needs access to the container image registry to pull automation images:Example
Setting up namespace isolation for organization 4 withK8S_NAMESPACE=crewai:
