Copy File

Copy a file from a pod

The copy file collector is not automatically included. You need to specify it in your spec to include pod logs. You can include this spec multiple times.

kind: Collector
  name: sample
  - copy:
        - app=api
      namespace: default
      containerPath: /etc/hosts
      containerName: sidecar

If containerName is not specified, the first container in the pod will be used.

The containerPath variable only supports wildcards that match exactly one file.

Included resources

When this collector is executed, it will include the following files in a support bundle:


This will contain the pod output (up to 10000 lines).