Updated on 2025-04-18 GMT+08:00

ccictl config

Scenario

Use subcommands such as ccictl config set current-context my-context to modify the cliconfig file.

The loading order follows the following rules:

  • If the --cliconfig flag is set, only that file is loaded. This flag can be set only once, and no merging occurs.
  • If the $CLICONFIG environment variable is set, it is used as a list of paths (normal path delimiting rules of the system). These paths are merged. When a value is modified, the value is also modified in the file that defines the corresponding content. When a value is created, the value is also created in the first file that exists. If no file exists in the chain, the last file in the list is created.

Otherwise, ${HOME}/.kubev2/config is used, and no merging occurs.

ccictl config SUBCOMMAND

Options

-h, --help

Help information for config

--cliconfig string

Use a specific cliconfig file.

The following ccictl options can also be used in subcommands:

Parent command options