Skip to content

Commit

Permalink
run the daemonsets to collect k0s controller/worker logs in the embed…
Browse files Browse the repository at this point in the history
…ded-cluster namespace (#1296)
  • Loading branch information
laverya authored Oct 8, 2024
1 parent 11d9556 commit ec65c8b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data:
collectors:
- runDaemonSet:
name: "k0scontroller"
namespace: default
namespace: embedded-cluster
podSpec:
containers:
- image: {{ .Values.utilsImage }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ec65c8b

Please sign in to comment.