mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00: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:
parent
575b5eb5f5
commit
72dbd1fcb4
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user