mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 07:14:22 +01:00
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 <xujunjielxx@163.com>
This commit is contained in:
@@ -45,6 +45,9 @@ spec:
|
|||||||
- name: containerdsocket
|
- name: containerdsocket
|
||||||
mountPath: /run/containerd/containerd.sock
|
mountPath: /run/containerd/containerd.sock
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: sbs
|
||||||
|
mountPath: /run/vc/sbs/
|
||||||
|
readOnly: true
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
- name: containerdtask
|
- name: containerdtask
|
||||||
@@ -53,3 +56,6 @@ spec:
|
|||||||
- name: containerdsocket
|
- name: containerdsocket
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /run/containerd/containerd.sock
|
path: /run/containerd/containerd.sock
|
||||||
|
- name: sbs
|
||||||
|
hostPath:
|
||||||
|
path: /run/vc/sbs/
|
||||||
|
|||||||
Reference in New Issue
Block a user