With the introduction of the dcos cluster command, it is now possible to manage multiple clusters with the DC/OS CLI.
The challenge it introduces is when there are different clusters with different versions. In such cases the same CLI binary might not be compatible with all of them.
We want to tackle this by shipping the DC/OS core CLI as a universe package, quite similarly to what we do with dcos-enterprise-cli.
The end-user DC/OS CLI would only contain the cluster subcommand by default, and the rest of the commands would be pluggable to it and stored in a cluster specific directory.
Ideally, both dcos-cli and dcos-enterprise-cli (if applicable) would be installed automatically after cluster setup.
Implemented commands :
- dcos config show
- dcos config set
- dcos config unset
- dcos auth list-providers
- dcos cluster rename
- dcos cluster remove
- dcos cluster attach
- dcos cluster list
Commands to implement :
- dcos cluster setup
- dcos cluster link (use Collin's work as a base)
- dcos cluster unlink (use Collin's work as a base)
- dcos config validate
- dcos auth login