liqoctl unoffload

Unoffload a resource from remote clusters

Description

Synopsis

Unoffload a resource from remote clusters.

liqoctl unoffload namespace

Unoffload namespaces from remote clusters

Synopsis

Unoffload one or more namespaces from remote clusters.

This command disables the offloading of one or more namespaces, deleting all resources reflected to remote clusters (including the namespaces themselves), and causing all offloaded pods to be rescheduled locally.

liqoctl unoffload namespace name [flags]

Examples

  $ liqoctl unoffload namespace foo

or

  $ liqoctl unoffload namespace foo bar

or

  $ liqoctl unoffload namespace --ns-selector 'foo=bar'

Options

--ns-selector string:

Selector (label query) to filter namespaces, supports ‘=’, ‘==’, and ‘!=’ (e.g., -l key1=value1,key2=value2).

--timeout duration:

Timeout for the unoffload operation (default 2m0s)

Global options

--cluster string:

The name of the kubeconfig cluster to use

--context string:

The name of the kubeconfig context to use

--global-annotations stringToString:

Global annotations to be added to all created resources (key=value)

--global-labels stringToString:

Global labels to be added to all created resources (key=value)

--kubeconfig string:

Path to the kubeconfig file to use for CLI requests

--skip-confirm

Skip the confirmation prompt (suggested for automation)

--user string:

The name of the kubeconfig user to use

-v, --verbose

Enable verbose logs (default false)