Command line interface overview
The kdb Insights Command Line Interface is a tool to manage your kdb Insights Enterprise application. Use it to:
-
Manage deployments
You can install, upgrade, and uninstall kdb Insights Enterprise.
Refer to kdb Insights Enterprise installation for more information.
-
Manage assemblies
You can programmatically create, manage and teardown assemblies.
This functionality is available through the
kxi assembly
subcommand.
Deprecation of deployment with assembly yaml files
The deployment of assembly yaml files using the kxi assembly
command in the kdb Insights CLI has been deprecated and may be removed from future releases. You should instead use packages, which can be deployed and managed by both the UI and the kdb Insights CLI. For more information about packages, refer to Packages.
-
Manage packages
You can create and manage packages that enable you to manage the life cycle of deployments and custom logic in kdb Insights Enterprise.
For more information, refer to Packaging.
-
Azure
You can interact with kdb Insights Enterprise on the Azure Marketplace.
For more information on how to use the CLI with Azure, refer to kdb Insights Enterprise on Azure Marketplace.
Installing the CLI
To install the CLI, use the CLI installation guide.
Options precedence
The CLI reads each option value in the following order of precedence:
- The command line parameter
- The value set in your local cli-config file
- The setting from the values file passed with
--filepath
(in the case ofkxi install run/upgrade
) - The setting from the values file already deployed on cluster (in the case of
kxi install upgrade
) - The response to a user prompt (in an interactive session)
- The default value
Namespace precedence
The namespace option precedence has an extra check and is read in the following order:
- The
--namespace
command line parameter - The
namespace
value set in your local cli-config file - The namespace set in your active Kubernetes context
- The response to a user prompt (in an interactive session)
- The default value