Skip to content

logout

Overview

Removes the previously authenticated cluster from your kubeconfig via kubectl. By default, Podplane resolves the cluster from the current kubeconfig context. Use --cluster or -f, --cluster-config when the kubeconfig context is missing or you want to clean up a specific cluster.

podplane logout [flags]

Options

FlagDescription
-y, --auto-approveSkip confirmation prompts
--cluster stringCluster ID
-f, --cluster-config stringPath to a podplane.cluster.jsonc file
--context stringThe name of the kubeconfig context to use
--kubeconfig stringPath to the kubeconfig file