Add hostpath test pod
This commit is contained in:
parent
58c2972dbe
commit
61ce1ef505
2 changed files with 21 additions and 0 deletions
|
@ -9,3 +9,6 @@ spec:
|
||||||
args:
|
args:
|
||||||
- sleep
|
- sleep
|
||||||
- "1000000"
|
- "1000000"
|
||||||
|
env:
|
||||||
|
- name: NICOTEST
|
||||||
|
value: "correct environment"
|
||||||
|
|
18
generic/hostpath-test.yaml
Normal file
18
generic/hostpath-test.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: busybox-sleep
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: busybox
|
||||||
|
image: busybox
|
||||||
|
args:
|
||||||
|
- sleep
|
||||||
|
- "1000000"
|
||||||
|
env:
|
||||||
|
- name: NICOTEST
|
||||||
|
value: "correct environment"
|
||||||
|
volumes:
|
||||||
|
- name: hostpathtest
|
||||||
|
hostPath:
|
||||||
|
path: /home
|
Loading…
Reference in a new issue