Skip to content

Commit 58728b8

Browse files
committed
kubernetes: add agnhost command in pod yaml
Add agnhost command in yaml to make the test run. Fixes: kata-containers#5619 Signed-off-by: Linda Yu <linda.yu@intel.com>
1 parent 00f0cda commit 58728b8

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

integration/kubernetes/runtimeclass_workloads/deployment-expose-ip.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
containers:
2424
- name: hello-world
2525
image: ${agnhost_image}
26+
command:
27+
- /agnhost
2628
args:
2729
- netexec
2830
ports:

integration/kubernetes/runtimeclass_workloads/pod-empty-dir-fsgroup.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ spec:
1616
containers:
1717
- name: mounttest-container
1818
image: ${agnhost_image}
19+
command:
20+
- /agnhost
1921
args:
2022
- mounttest
2123
- --fs_type=/test-volume
@@ -27,6 +29,8 @@ spec:
2729
mountPath: /test-volume
2830
- name: mounttest-container-2
2931
image: ${agnhost_image}
32+
command:
33+
- /agnhost
3034
args:
3135
- mounttest
3236
- --fs_type=/test-volume-2

integration/kubernetes/runtimeclass_workloads/pod-http-liveness.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
containers:
1616
- name: liveness
1717
image: ${agnhost_image}
18+
command:
19+
- /agnhost
1820
args:
1921
- liveness
2022
livenessProbe:

integration/kubernetes/runtimeclass_workloads/pod-tcp-liveness.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
containers:
1616
- name: tcp-liveness
1717
image: ${agnhost_image}
18+
command:
19+
- /agnhost
1820
args:
1921
- liveness
2022
ports:

0 commit comments

Comments
 (0)