move logs to collectors array
@@ -3,6 +3,15 @@ kind: SupportBundle
metadata:
name: example
spec:
+ collectors:
+ - logs:
+ selector:
+ - app=example
+ - component=nginx
+ namespace: repl{{ Namespace }}
+ limits:
+ maxAge: 30d
+ maxLines: 10000
analyzers:
- clusterVersion:
outcomes:
@@ -90,4 +99,3 @@ spec:
message: The API deployment has only a single ready replica.
- pass:
message: There are multiple replicas of the API deployment ready.
-
\ No newline at end of file
