robscott: Automated cherry pick of #101084: Updating EndpointSlice validation to match Endpoints

JobBuild
101386
04-22 22:56
dd95bba6
04-22 22:55
pull-kubernetes-bazel-build 1385366622885122048
pull-kubernetes-bazel-test 1385366622906093568
pull-kubernetes-dependencies 1385366622927065088
pull-kubernetes-e2e-gce-100-performance 1385366622864150528
pull-kubernetes-e2e-gce-ubuntu-containerd 1385366622805430272
pull-kubernetes-e2e-kind 1385656508041138176 1385366622973202432
pull-kubernetes-integration 1385366622943842304
pull-kubernetes-node-e2e 1385366622826401792
pull-kubernetes-typecheck 1385366622989979648
pull-kubernetes-verify 1385366623006756864