mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
kubernetes: add agnhost command in pod yaml
Fixes: #6928 Signed-off-by: Linda Yu <linda.yu@intel.com>
This commit is contained in:
parent
160d9aae4d
commit
433b5add4a
@ -16,6 +16,8 @@ spec:
|
||||
containers:
|
||||
- name: mounttest-container
|
||||
image: ${agnhost_image}
|
||||
command:
|
||||
- /agnhost
|
||||
args:
|
||||
- mounttest
|
||||
- --fs_type=/test-volume
|
||||
@ -27,6 +29,8 @@ spec:
|
||||
mountPath: /test-volume
|
||||
- name: mounttest-container-2
|
||||
image: ${agnhost_image}
|
||||
command:
|
||||
- /agnhost
|
||||
args:
|
||||
- mounttest
|
||||
- --fs_type=/test-volume-2
|
||||
|
@ -15,6 +15,8 @@ spec:
|
||||
containers:
|
||||
- name: liveness
|
||||
image: ${agnhost_image}
|
||||
command:
|
||||
- /agnhost
|
||||
args:
|
||||
- liveness
|
||||
livenessProbe:
|
||||
|
@ -15,6 +15,8 @@ spec:
|
||||
containers:
|
||||
- name: tcp-liveness
|
||||
image: ${agnhost_image}
|
||||
command:
|
||||
- /agnhost
|
||||
args:
|
||||
- liveness
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user