-
Feature Request
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
None
-
False
-
Not Selected
- Proposed title of this feature request
Add node support to oc cp commands
- What is the nature and description of the request?
The Must-Gather tool inherently is a 'snapshot' tool, as all data is collected upon command execution and collected back in the single command.
`oc adm must-gather --image=<image>`
Sometimes the OpenShift support teams require ongoing data collection, such as the PCAP collection.
This has previously been recommended to be approached through the use of Must-Gather images:
[PCAPs](https://issues.redhat.com/browse/RFE-2050)
I would be useful to have a way to copy from 'Nodes' directly.
This could do the following:
-
- Run `oc cp node/<node1>:<filepath> node/<node2>:<dirpath>
- Pods are started on Node1 & Node2
- Directory is converted into a TAR file
- TARs are streamed back to the workstation
- TARs are extracted
- Pods are teminated
- Run `oc cp node/<node1>:<filepath> node/<node2>:<dirpath>
- Why does the customer need this? (List the business requirements here)
More complex problems in OpenShift require ongoing data collection in OpenShift. The Must-Gather copy cannot be used in the same command.
- List any affected packages or components.
oc