kubernetes/test/integration/scheduler_perf/config/pod-with-node-affinity.yaml
Sascha Grunert b167fc24d7
Update pause image to v3.5
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00

28 lines
563 B
YAML

apiVersion: v1
kind: Pod
metadata:
generateName: node-affinity-
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/zone
operator: In
values:
- zone1
- zone2
containers:
- image: k8s.gcr.io/pause:3.5
name: pause
ports:
- containerPort: 80
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi