Merge pull request #6929 from LindaYu17/dev

kubernetes: add agnhost command in pod yaml
This commit is contained in:
Fabiano Fidêncio
2023-06-01 08:39:58 +02:00
committed by GitHub
3 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -15,6 +15,8 @@ spec:
containers:
- name: liveness
image: ${agnhost_image}
command:
- /agnhost
args:
- liveness
livenessProbe:

View File

@@ -15,6 +15,8 @@ spec:
containers:
- name: tcp-liveness
image: ${agnhost_image}
command:
- /agnhost
args:
- liveness
ports: