Environments
When you create a cluster with cortex cluster up
, an environment named aws
is automatically created to point to your cluster and is configured to be the default environment. You can name the environment something else via the --configure-env
flag, e.g. cortex cluster up --configure-env prod
. You can also use the --configure-env
flag with cortex cluster info
and cortex cluster configure
to create / update the specified environment.
You can list your environments with cortex env list
, change the default environment with cortex env default
, delete an environment with cortex env delete
, and create/update an environment with cortex env configure
.
Multiple clusters
Multiple clusters, if you omitted the --configure-env
on cortex cluster up
--configure-env
on cortex cluster up
Configure cortex
CLI to connect to an existing cluster
cortex
CLI to connect to an existing clusterIf you are installing the cortex
CLI on a new machine, you can configure it to access an existing Cortex cluster.
On the machine which already has the CLI configured, run:
Take note of the environment name and operator endpoint of the desired environment.
On your new machine, run:
Last updated