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

ccictl config use-context

Scenario

Set the current context in the cliconfig file.

ccictl config use-context CONTEXT_NAME

Examples

# Use the context named exampleCtx1.
kubectl config use-context exampleCtx1

Options

-h, --help

Help information for use-context

The following ccictl options can also be used in subcommands:

Parent command options