brc extract config
brc extract config
Extract decoded configuration for an element
Synopsis
This command would make a copy of the configuration files provided to a particular <element>
workload. In
a containerized environment, the $CONF_DIR
is downloaded from the manager container, while in the
bare-metal environment, the directory /var/snap/<element>/common/conf
is copied from the machine.
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. The format bare.<machine-name>
is reserved for bare-metal machine access where
SSH is used to access the machine named <machine-name>
. In this case the <element>
is the
name of the Snap package on the target machine.
brc extract config [flags]
Examples
brc extract config <element> <destination>
Options
-h, --help help for config
Options inherited from parent commands
-n, --namespace string namespace to perform the operations (default "trirematics")
-v, --verbose debug output
SEE ALSO
- brc extract - Extract logs, configuration, PCAPs, or infrastructure details