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:
- ccictl config current-context
- ccictl config get-contexts
- ccictl config set-context
- ccictl config delete-context
- ccictl config rename-context
- ccictl config use-context
- ccictl config get-clusters
- ccictl config set-cluster
- ccictl config delete-cluster
- ccictl config get-users
- ccictl config delete-user
- ccictl config set-credentials
- ccictl config view
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot