Kodexa CLI
Packaging and Deployment
Packaging and deploying components to the Kodexa platform
The Kodexa CLI provides tools for packaging resources and deploying them to the platform. This page explains how to package and deploy components.
Packaging Resources
The package
command allows you to package resources (extension packs, models, etc.) for deployment:
By default, this looks for a kodexa.yml
file in the current directory.
Packaging an Extension Pack
To package an extension pack:
Packaging with Helm Charts
For Kubernetes deployment, add the --helm
flag:
Package Options
--path
: Path to folder containing kodexa.yml (defaults to current directory)--output
: Path to the output folder (defaults to dist under current)--version
: Version number for the package--package-name
: Name of the package (for models)--helm
: Generate a Helm chart--repository
: Repository to use (defaults to kodexa)
Deploying Components
The deploy
command allows you to deploy components to a Kodexa platform instance:
Deploying a Packaged Component
To deploy a packaged component:
Updating Existing Components
To update an existing component:
Deploying to a Specific Organization
To deploy to a specific organization:
Deployment Options
--org
: Organization slug to deploy to--update
: Update existing components--version
: Override version for component--overlay
: JSON/YAML file to overlay metadata--slug
: Override slug for component