nctl remove cluster
nctl remove cluster
Remove cluster
nctl remove cluster [flags]
Options
--cluster-id string the NPM cluster Id of cluster to be removed (Overrides name. Needed if cluster name is not unique)
--cluster-name string the NPM cluster name of cluster to be removed
--crd-release string release name for the operator CRD helm chart (default "kyverno-operator-crd")
--deregister-only only deresgisters cluster from npm
--force force remove cluster ignoring empty kube-system namespace uid check
-h, --help help for cluster
--insecure allow connection to an address with a self-signed or non-verifiable certificate (not recommended)
--kube-context string the kube context from configured kubeconfig. Default is the current or sole context
--kubeconfig string kubeconfig path (defaults to $HOME/.kube/kubeconfig)
-n, --namespace string namespace in which the operator is deployed (default "nirmata-system")
--release string release name for the operator helm chart (default "kyverno-operator")
--remove-operator-only remove only operator from cluster, removes all components by default
--timeout duration time to wait until the operation terminates (default 10m0s)
--token string Nirmata API Login Key (env NIRMATA_TOKEN)
--url string Nirmata server base URL (env NIRMATA_URL)
Options inherited from parent commands
-v, --v Level log level for V logs
SEE ALSO
- nctl remove - Remove NPM resources