From 72dbd1fcb44e22241b3a41d38ed44c67ff1bd835 Mon Sep 17 00:00:00 2001 From: xujunjie-cover Date: Tue, 19 Jul 2022 09:52:54 +0800 Subject: [PATCH] kata-monitor: fix can't monitor /run/vc/sbs. need bind host dir /run/vc/sbs/ to kata monitor Fixes: #4685 Signed-off-by: xujunjie-cover --- docs/how-to/data/kata-monitor-daemonset.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/how-to/data/kata-monitor-daemonset.yml b/docs/how-to/data/kata-monitor-daemonset.yml index 63443829c7..a7b3c947f0 100644 --- a/docs/how-to/data/kata-monitor-daemonset.yml +++ b/docs/how-to/data/kata-monitor-daemonset.yml @@ -45,6 +45,9 @@ spec: - name: containerdsocket mountPath: /run/containerd/containerd.sock readOnly: true + - name: sbs + mountPath: /run/vc/sbs/ + readOnly: true terminationGracePeriodSeconds: 30 volumes: - name: containerdtask @@ -53,3 +56,6 @@ spec: - name: containerdsocket hostPath: path: /run/containerd/containerd.sock + - name: sbs + hostPath: + path: /run/vc/sbs/