test pod scheduling

This commit is contained in:
Nico Schottelius 2021-12-18 21:35:04 +01:00
parent 60f3569140
commit 0c64d57e25
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: pod-on-non-exiting-node
labels:
env: test
spec:
containers:
- name: nginx
image: nginx
imagePullPolicy: IfNotPresent
nodeSelector:
kubernetes.io/hostname: "server-does-not-exist"

13
generic/pod-on-node.yaml Normal file
View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: pod-on-server49
labels:
env: test
spec:
containers:
- name: nginx
image: nginx
imagePullPolicy: IfNotPresent
nodeSelector:
kubernetes.io/hostname: "server49"