From 17b449e78a6713b382173a7187a46ff1484c5a8a Mon Sep 17 00:00:00 2001 From: Gerard Nguyen Date: Mon, 9 Dec 2024 12:01:04 +1100 Subject: [PATCH] collect minio logs --- in-cluster/default.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 509f1be..42bb879 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -168,6 +168,23 @@ spec: name: kots/rqlite/logs selector: - app=kotsadm-rqlite + - logs: + collectorName: minio-logs + name: kots/minio/logs + selector: + - app=kotsadm-minio + - exec: + collectorName: minio-ls + command: + - /usr/bin/mc + args: + - ls + - --summarize + - --recursive + - --json + - /export/kotsadm + selector: + - app=kotsadm-minio - logs: collectorName: weave-net selector: