From ec65c8b9d2515337d765a20bc63b4cc25af569a3 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 8 Oct 2024 18:50:40 +0200 Subject: [PATCH] run the daemonsets to collect k0s controller/worker logs in the embedded-cluster namespace (#1296) --- .../templates/embedded-cluster-logs-collector.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/operator/charts/embedded-cluster-operator/templates/embedded-cluster-logs-collector.yaml b/operator/charts/embedded-cluster-operator/templates/embedded-cluster-logs-collector.yaml index 0d2fdaf40..a3ec4bbc3 100644 --- a/operator/charts/embedded-cluster-operator/templates/embedded-cluster-logs-collector.yaml +++ b/operator/charts/embedded-cluster-operator/templates/embedded-cluster-logs-collector.yaml @@ -19,7 +19,7 @@ data: collectors: - runDaemonSet: name: "k0scontroller" - namespace: default + namespace: embedded-cluster podSpec: containers: - image: {{ .Values.utilsImage }} @@ -47,12 +47,12 @@ data: name: host-root - runDaemonSet: name: "k0sworker" - namespace: default + namespace: embedded-cluster podSpec: containers: - image: {{ .Values.utilsImage }} imagePullPolicy: Always - args: ["chroot","/host","journalctl","-u","k0scontroller","--no-pager","--since","2 days ago"] + args: ["chroot","/host","journalctl","-u","k0sworker","--no-pager","--since","2 days ago"] name: debugger resources: {} terminationMessagePath: /dev/termination-log