Skip to content

Commit

Permalink
k8s: add agnhost command in pod yaml
Browse files Browse the repository at this point in the history
Entrypoint setting does not pass correct, add agnhost command in yaml
file to make the test run.

Fixes: kata-containers#5619

Signed-off-by: Linda Yu <[email protected]>
  • Loading branch information
LindaYu17 committed Jun 2, 2023
1 parent 00f0cda commit 29c8ce4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
containers:
- name: hello-world
image: ${agnhost_image}
command:
- /agnhost
args:
- netexec
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
containers:
- name: mounttest-container
image: ${agnhost_image}
command:
- /agnhost
args:
- mounttest
- --fs_type=/test-volume
Expand All @@ -27,6 +29,8 @@ spec:
mountPath: /test-volume
- name: mounttest-container-2
image: ${agnhost_image}
command:
- /agnhost
args:
- mounttest
- --fs_type=/test-volume-2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
containers:
- name: liveness
image: ${agnhost_image}
command:
- /agnhost
args:
- liveness
livenessProbe:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
containers:
- name: tcp-liveness
image: ${agnhost_image}
command:
- /agnhost
args:
- liveness
ports:
Expand Down

0 comments on commit 29c8ce4

Please sign in to comment.