Huang-Wei: Automated cherry pick of #95812: Fix a bug that Pods with topologySpreadConstraints get

JobBuild
95845
10-23 23:19
unknown
10-23 23:17
pull-kubernetes-bazel-build 1320772663307669504 1320720997896163328 1320124666966183936 1319867058061578240 1319781527495643136 1319780032482119680
pull-kubernetes-bazel-test 1320772663328641024 1320720997912940544 1320124666978766848 1319867058078355456 1319781527516614656 1319780032503091200
pull-kubernetes-dependencies 1320772663345418240 1320720997933912064 1320124667008126976 1319867058095132672 1319781527541780480 1319780032532451328
pull-kubernetes-e2e-gce-100-performance 1320772663286697984 1320720997883580416 1320124666941018112 1319867058044801024 1319781527474671616 1319780032461148160
pull-kubernetes-e2e-gce-ubuntu-containerd 1320772663240560640 1320720997837443072 1320124666878103552 1319867058007052288 1319781527432728576 1319780032410816512
pull-kubernetes-e2e-kind 1320772663391555584 1320720997971660800 1320124667045875712 1319867058128687104 1319781527583723520 1319780032574394368
pull-kubernetes-integration 1320772663370584064 1320720997950689280 1320124667012321280 1319867058116104192 1319781527562752000 1319780032549228544
pull-kubernetes-node-e2e 1320772663261532160 1320720997858414592 1320124666899075072 1319867058023829504 1319781527453700096 1319780032435982336
pull-kubernetes-typecheck 1320772663412527104 1320720997984243712 1320124667058458624 1319867058145464320 1319781527600500736 1319780032599560192
pull-kubernetes-verify 1320772663437692928 1320720998005215232 1320124667079430144 1319867058162241536 1319781527621472256 1319780032620531712