The Maestro CLI provides command-line tools for running the Maestro server and managing Maestro resources including consumers (target clusters) and resource bundles (Kubernetes manifests).
Build and install the Maestro CLI from source:
# Clone the repository
git clone https://github.com/openshift-online/maestro.git
cd maestro
# Build the binary
make binary
# Install to GOPATH/bin
make install
# Or use the binary directly
./maestro --helpmaestro --helpThe Maestro CLI provides the following command groups:
Run the Maestro server with configured database and message broker.
server- Start the Maestro server
See Server Command for detailed documentation.
Manage consumers (target clusters) that receive resource bundles from Maestro.
consumer list- List consumersconsumer get- Get a consumer by IDconsumer create- Create a new consumerconsumer update- Update a consumerconsumer delete- Delete a consumer
See Consumer Commands for detailed documentation.
Manage resource bundles (collections of Kubernetes manifests).
resourcebundle list- List resource bundlesresourcebundle get- Get a resource bundle by IDresourcebundle apply- Create or update a resource bundleresourcebundle delete- Delete a resource bundleresourcebundle status- Get resource bundle status
See ResourceBundle Commands for detailed documentation.