k8s.io/kubernetes@v1.29.3/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 generateName: spreading-pod- 5 labels: 6 color: blue 7 spec: 8 topologySpreadConstraints: 9 - maxSkew: 5 10 topologyKey: topology.kubernetes.io/zone 11 whenUnsatisfiable: ScheduleAnyway 12 labelSelector: 13 matchLabels: 14 color: blue 15 containers: 16 - image: registry.k8s.io/pause:3.9 17 name: pause 18 ports: 19 - containerPort: 80 20 resources: 21 limits: 22 cpu: 100m 23 memory: 500Mi 24 requests: 25 cpu: 100m 26 memory: 500Mi