brc install model
brc install model
Perform the operation against the model
Synopsis
Do the requested operation (install, list, or remove) against the Composition Models in the cluster. This command only supports definition of Composition Models as Helm charts, and they are maintained as such.
For the install
operation, you may add the --set
flag to set values on the command line.
You may use the flag multiple times to set multiple values. The values are set in the form of key=value
.
You may also use the special --set version=<version>
flag to set the version of the model to install.
The option --namespace
by default points to a Kubernetes namespace of the default Kubernetes context. You
may explicitly provide the context in the format of <context-name>.<namespace>
to access the cluster using
particular kubectl
context.
- This command does not support bare-metal machines for the context.
brc install model [flags]
Examples
# list the Composition Models
brc list model
# install the Composition Model
brc install model <model-name> --set key1=value1 --set key2=value2 --username <username> --password <password>
# remove the Composition Model
brc remove model <model-name>
Options
--ca string certificate authority for registry
--cert string certificate for registry
-h, --help help for model
--key string key for the registry
-p, --password string registry password
-g, --registry string registry for helm (default "hub.bubbleran.com")
-r, --repo string helm local repository name
-s, --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
-u, --username string registry username
Options inherited from parent commands
-n, --namespace string namespace to perform the operations (default "trirematics")
-v, --verbose debug output
SEE ALSO
- brc install - Install a component on Trirematics