test pod scheduling
This commit is contained in:
parent
60f3569140
commit
0c64d57e25
2 changed files with 26 additions and 0 deletions
13
generic/pod-on-node-doesnt-exist.yaml
Normal file
13
generic/pod-on-node-doesnt-exist.yaml
Normal 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
13
generic/pod-on-node.yaml
Normal 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"
|
Loading…
Reference in a new issue