Skip to content

Kcm context rename

kcm context rename

Rename a context and move its per-context state (tags, alerts) to the new name

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

Options

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

SEE ALSO

  • kcm context - Rename or delete contexts within a kubeconfig file