Skip to main content
Version: 3.1

shared-cluster-admin-namespace

By default, you can only migrate namespaces in which the Migration object is created. This is to prevent any user from migrating namespaces for which they do not have access. By default, kube-system is the admin namespace, but you can also designate a different namespace as the admin namespace. This will allow an admin who has access to that namespace to migrate any namespace from the source cluster.

In the following example, we will set up portworx as the admin namespace for migration by adding it to the Stork deployment object and passing in an additional parameter to the Stork deployment.

For a Portworx Operator based installation, perform the following steps.

  1. In the editor, update the arguments to the Stork container to specify the cluster admin namespace using the admin-namespace: portworx parameter:

    stork:
    args:
    admin-namespace: portworx
    webhook-controller: "true"

Was this page helpful?