Skip to main content
Version: 1.0

wf create namespace

wf create namespace

Creates a namespace within a managed cluster

Synopsis

Lets you create a namespace on a provisioned cluster

wf create namespace [flags]

Examples


# Create a namespace on a given cluster
$ wf create namespace -c cluster -w <workspace> my-namespace

# Delete a namespace on a given cluster
$ wf delete namespace -c cluster -w <workspace> my-namespace

# List all namespaces on all clusters owned by a workspace
$ wf get namespace -w <workspace>

# List all namespaces on a given cluster
$ wf get namespace -w <workspace> -c cluster

Options

  -c, --cluster NAME      the name of the cluster you are creating the namespace on NAME
--dry-run shows the resource but does not apply or create (default: false)
-h, --help help for namespace
--non-interactive does not prompt interactively

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within

SEE ALSO