The pod logs collector is not automatically included. You need to specify it in your spec to include pod logs. You can include this spec multiple times.
apiVersion: troubleshoot.replicated.com/v1beta1 kind: Collector metadata: name: sample spec: - logs: selector: - app=api namespace: default limits: maxAge: 30d maxLines: 1000
The selector attribute is a standard Kubernetes selector. It can match any labels.
The limits field can support one or both of
maxLines. This will limit the output to the constraints provided. If not supplied, the
maxAge will be unset (all), and the
maxLines will be set to 10000 lines.
When this collector is executed, it will include the following files in a support bundle:
This will be created for each pod that matches the selector.