helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[node-problem-detector] Should mount /dev/kmsg by default

Open L1ghtman2k opened this issue 3 years ago • 2 comments

kernel-monitor.json references /dev/kmsg: https://github.com/kubernetes/node-problem-detector/blob/e7fe0b20dc8279130d41218d12802d85d6730728/config/kernel-monitor.json#L3

However, it is not mounted by default to the container.

Our workaround is to add the following to values.yaml:

extraVolumes:
  - name: kmsg
    hostPath:
      path: /dev/kmsg

extraVolumeMounts:
  - name: kmsg
    mountPath: /dev/kmsg
    readOnly: true

L1ghtman2k avatar Jan 18 '22 21:01 L1ghtman2k

PRs welcome 🙂

max-rocket-internet avatar Jan 19 '22 09:01 max-rocket-internet

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 03:08 stale[bot]

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 29 '22 02:08 github-actions[bot]