Skip to main content
Version: v4.0.0 [Denim]

brc install monitoringjob

brc install monitoringjob

Perform the operation against the MonitoringJob entities

Synopsis

Do the requested operation (install, list, or remove) against the MonitoringJob Custom Resource supported by Trirematics.

Ths install and remove operations require a file path to the YAML file that define the MonitoringJob entities to be installed or removed. The operations are idempotent, meaning that they can be run multiple times without causing any harm and only changed sections are updated accordingly. If a file contains MonitoringJob entities with the same name as the existing ones, even if it is not the same file, the existing MonitoringJob entities are updated or removed accordingly. The namespace field in the files takes precedence over the --namespaceflag.

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 kubectlcontext.

  • This command does not support bare-metal machines for the context.
brc install monitoringjob [flags]

Examples


# list the MonitoringJob entities
brc list monitoringjob

# install the MonitoringJob entity
brc install monitoringjob <file-path>

# remove the MonitoringJob entity
brc remove monitoringjob <file-path>

Options

  -h, --help   help for monitoringjob

Options inherited from parent commands

  -n, --namespace string   namespace to perform the operations (default "trirematics")
-v, --verbose debug output

SEE ALSO

Auto generated by spf13/cobra on 24-Feb-2026