mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-14 05:19:21 +00:00
Merge pull request #6929 from LindaYu17/dev
kubernetes: add agnhost command in pod yaml
This commit is contained in:
@@ -16,6 +16,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: mounttest-container
|
- name: mounttest-container
|
||||||
image: ${agnhost_image}
|
image: ${agnhost_image}
|
||||||
|
command:
|
||||||
|
- /agnhost
|
||||||
args:
|
args:
|
||||||
- mounttest
|
- mounttest
|
||||||
- --fs_type=/test-volume
|
- --fs_type=/test-volume
|
||||||
@@ -27,6 +29,8 @@ spec:
|
|||||||
mountPath: /test-volume
|
mountPath: /test-volume
|
||||||
- name: mounttest-container-2
|
- name: mounttest-container-2
|
||||||
image: ${agnhost_image}
|
image: ${agnhost_image}
|
||||||
|
command:
|
||||||
|
- /agnhost
|
||||||
args:
|
args:
|
||||||
- mounttest
|
- mounttest
|
||||||
- --fs_type=/test-volume-2
|
- --fs_type=/test-volume-2
|
||||||
|
@@ -15,6 +15,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: liveness
|
- name: liveness
|
||||||
image: ${agnhost_image}
|
image: ${agnhost_image}
|
||||||
|
command:
|
||||||
|
- /agnhost
|
||||||
args:
|
args:
|
||||||
- liveness
|
- liveness
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
@@ -15,6 +15,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: tcp-liveness
|
- name: tcp-liveness
|
||||||
image: ${agnhost_image}
|
image: ${agnhost_image}
|
||||||
|
command:
|
||||||
|
- /agnhost
|
||||||
args:
|
args:
|
||||||
- liveness
|
- liveness
|
||||||
ports:
|
ports:
|
||||||
|
Reference in New Issue
Block a user