Files
kubernetes/test/integration/scheduler_perf/config/pod-with-preferred-pod-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

30 lines
666 B
YAML

apiVersion: v1
kind: Pod
metadata:
generateName: preferred-affinity-pod-
labels:
color: red
spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
color: red
topologyKey: kubernetes.io/hostname
namespaces: ["sched-test", "sched-setup"]
weight: 1
containers:
- image: k8s.gcr.io/pause:3.5
name: pause
ports:
- containerPort: 80
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi