Skip to content

rename

kcm rename

Rename a kubeconfig file on disk (metadata re-binds automatically)

kcm rename <file> <new-name> [flags]

Options

      --dir string   Kubeconfig directory (default: ~/.kube)
      --dry-run      Print the planned change without touching the file or state
      --force        Overwrite destination if it exists
  -h, --help         help for rename

SEE ALSO

  • kcm - Manage kubeconfig files and kubectl contexts