Add hostpath test pod

This commit is contained in:
Nico Schottelius 2021-06-04 14:35:59 +02:00
parent 58c2972dbe
commit 61ce1ef505
2 changed files with 21 additions and 0 deletions

View file

@ -9,3 +9,6 @@ spec:
args:
- sleep
- "1000000"
env:
- name: NICOTEST
value: "correct environment"

View 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