Removing a Cluster as Default

You can remove a cluster as default using OKS CLI.

Removing a Cluster as Default Using OKS CLI

The cluster logout command allows you to terminate your active session with the current cluster, effectively clearing your authentication tokens from the CLI. The default cluster is then set to none.

Request sample
$ oks-cli cluster logout

The default cluster is unset.

Result sample
Logged out from the current cluster

Related Pages