The CLI provides features to perform operations such as (but not limited to):
- Installation setup
- Enrolling/removing clients
- Querying data
- Creating and deleting assemblies
The CLI makes use of the Python Kubernetes client to allow it to run easily outside and inside of a Kubernetes cluster.
The CLI requires
- Python 3.6 or greater
- Python pip package manager
It is assumed
pip commands are available as is and on the path. If alternative commands such as
python3 are required, update the commands appropriately
To install from Nexus, execute
pip install with the appropriate credentials.
pip_user=<redacted> pip_password=<redacted> pip install --extra-index-url https://$pip_user:$email@example.com/repository/kxi/simple kxicli
To install a specific version, use
cli_version=x.y.z # replace with the version you want to install pip install --extra-index-url https://$pip_user:$firstname.lastname@example.org/repository/kxi/simple kxicli==$cli_version
Available versions can be viewed on Nexus
kxi will now be available for you to execute.
For a full reference guide to the CLI see here
kxi, version 0.1.0 from /home/rtuser/git/kxi-cli/kxi (Python 3.8)
To upgrade the CLI, use the
--upgrade option for
pip_user=<redacted> pip_password=<redacted> # pass the '--upgrade' flag to pip pip install --upgrade --extra-index-url https://$pip_user:$email@example.com/repository/kxi/simple kxicli