manage
get-rsi-patch-logs
Extract and display the logs from the RSI webhook
pod.
Extended description
Extract and display the logs from the RSI webhook pod.
The logs include the following information:
- RSI patch history
- RSI patch failures
You can filter the logs by project and by patch name.
Remember: Logs are deleted when the RSI webhook pod is restarted.
Syntax
cpd-cli manage get-rsi-patch-logs \
--cpd_instance_ns=<project-name> \
[--patch_name=<patch-name>] \
[-v][-vv][-vvv]
Arguments
The get-rsi-patch-logs command has no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--cpd_instance_ns |
The project (namespace) where the RSI patch
exists.
|
--patch_name |
The name of the RSI patch for which you want to see
logs. If you don't specify this option, you see either:
|
-v-vv-vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Examples
Note: The following example uses the recommended installation environment variables.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.
- See the logs for the RSI patches in a specific project
-
cpd-cli manage get-rsi-patch-logs \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} - See the logs for the
patch-name-1patch in a specific project -
cpd-cli manage get-rsi-patch-logs \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --patch_name=patch-name-1