Files
kubernetes/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml
Davanum Srinivas 50bea1dad8 Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00

27 lines
522 B
YAML

apiVersion: v1
kind: Pod
metadata:
generateName: spreading-pod-
labels:
color: blue
spec:
topologySpreadConstraints:
- maxSkew: 5
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
color: blue
containers:
- image: registry.k8s.io/pause:3.7
name: pause
ports:
- containerPort: 80
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi