Skip to content

Commit

Permalink
kubernetes: add agnhost command in pod yaml
Browse files Browse the repository at this point in the history
add agnhost command in pod yaml file
Fixes: kata-containers#5619

Signed-off-by: Linda Yu <[email protected]>
  • Loading branch information
LindaYu17 committed Jun 5, 2023
1 parent 00f0cda commit ef07d63
Show file tree
Hide file tree
Showing 4 changed files with 11 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,8 +15,11 @@ spec:
containers:
- name: liveness
image: ${agnhost_image}
command:
- /agnhost
args:
- liveness

livenessProbe:
httpGet:
path: /healthz
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 ef07d63

Please sign in to comment.