Commit Graph

125051 Commits

Author SHA1 Message Date
Ed Bartosh
e1bc8defac kubelet: Migrate DRA Manager to contextual logging
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-08-22 11:12:41 +03:00
Patrick Ohly
e85d3babf0 DRA scheduler: fix re-scheduling after ResourceSlice changes
Making unschedulable pods schedulable again after ResourceSlice cluster events
was accidentally left out when adding structured parameters to Kubernetes 1.30.

All E2E tests were defined so that a driver starts first. A new test with a
different order (create pod first, wait for unschedulable, start driver)
triggered the bug and now passes.
2024-08-22 10:09:32 +02:00
Patrick Ohly
6dd2ade762 DRA scheduler: reduce log verbosity
That a pod with no claims remains unschedulable on claim changes is a pretty
normal case. It should only be logged when debugging.
2024-08-22 10:09:32 +02:00
Kubernetes Prow Robot
cee43048c7
Merge pull request #126854 from serathius/pagination-tests
Add paging tests
2024-08-22 06:24:16 +01:00
piny940
9f7ea45ea0 fix ValidatingAdmissionPolicy's Validate func to return decision with valid Evaluation 2024-08-22 13:33:17 +09:00
Kubernetes Prow Robot
850bfd9aa9
Merge pull request #126841 from carlory/StableLoadBalancerNodeSet
remove feature-gate StableLoadBalancerNodeSet
2024-08-21 22:06:32 +01:00
Kubernetes Prow Robot
77737c3eb3
Merge pull request #126512 from kmala/metrics
add resource to the transformation metrics
2024-08-21 22:06:26 +01:00
Tim Hockin
128e189fcd
Remove AllowServiceLBStatusOnNonLB gate 2024-08-21 13:07:52 -07:00
Kubernetes Prow Robot
44ce613173
Merge pull request #126851 from BenTheElder/update-vendor
update corefile-migration to v1.0.24
2024-08-21 20:02:30 +01:00
Kubernetes Prow Robot
b60e01f881
Merge pull request #126838 from zou2699/fix-126836
fix: use the getContext() method for evicting pods
2024-08-21 18:32:19 +01:00
Kubernetes Prow Robot
563ab1bb55
Merge pull request #126789 from aaron-prindle/emu-version-local-up-cluster
feat: add EMULATED_VERSION env var and --emulated-version flag params to k8s binaries flags in hack/local-up-cluster.sh
2024-08-21 18:32:12 +01:00
Marek Siarkowicz
99e6956980 Add paging tests 2024-08-21 18:54:57 +02:00
Keerthan Reddy Mala
3a8df1efdd add resource to the transformation metrics 2024-08-21 09:52:24 -07:00
Benjamin Elder
4aad0b9c1a update corefile-migration to v1.0.24
there are no code changes, instead packages we do not use have been isolated into another module to help manage the dependency tree

in older release branches, picking this back will allow us to avoid unexpected cobra updates
2024-08-21 09:39:53 -07:00
carlory
231d9af5fe Fix hotloop once the watch closes 2024-08-22 00:03:26 +08:00
carlory
295ecc19d4 remove feature-gate StableLoadBalancerNodeSet 2024-08-21 23:32:06 +08:00
Kubernetes Prow Robot
69333563e5
Merge pull request #126690 from googs1025/cli/add_ut
add printer unit test for DRA resources
2024-08-21 16:29:31 +01:00
Kubernetes Prow Robot
4ce63b4822
Merge pull request #126197 from macsko/move_nominatedpodsfornode_to_scheduling_queue
Move NominatedPodsForNode to scheduling queue directly
2024-08-21 16:29:21 +01:00
Kubernetes Prow Robot
243fdafc68
Merge pull request #126840 from carlory/CloudDualStackNodeIPs
cleanup after CloudDualStackNodeIPs is GA
2024-08-21 15:22:19 +01:00
Kubernetes Prow Robot
b1aadefec8
Merge pull request #126556 from carlory/ref-124136
Collect more info for debugging #124136
2024-08-21 15:22:05 +01:00
Dan Winship
a3b97b118b Fix the localhost nodeport metrics test to not fail under non-kube-proxy
If the cluster is using a non-kube-proxy service proxy, the `curl`
will presumably fail; this should not be considered a hard failure.
2024-08-21 09:44:42 -04:00
Kubernetes Prow Robot
6ca629d46b
Merge pull request #126769 from Sakuralbj/headless-service-kubeproxy
don't watch headless services on kube-proxy
2024-08-21 13:57:02 +01:00
googs1025
fd97b36da1 add printer unit test for DRA resources 2024-08-21 19:56:50 +08:00
Kubernetes Prow Robot
ad6ed1376e
Merge pull request #126629 from carlory/add-owners
put volumescheduling and volume intergation test under SIG-Storage reviewing
2024-08-21 12:44:57 +01:00
Sascha Grunert
14476d88f3
Fix hugepages e2e test assertion
This causes failures in:

- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv2-node-e2e-hugepages
- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv1-node-e2e-hugepages

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-21 13:37:22 +02:00
carlory
9c9a1623d2 put volumescheduling and volume intergation test under SIG-Storage reviewing 2024-08-21 18:38:00 +08:00
Maciej Skoczeń
a7ad94f93b Unexport podRef in scheduling queue's nominator 2024-08-21 07:25:57 +00:00
Maciej Skoczeń
e303808896 Move scheduling queue's nominator to a separate file 2024-08-21 07:25:55 +00:00
Maciej Skoczeń
33815db3c1 Move NominatedPodsForNode to scheduling queue directly 2024-08-21 07:24:52 +00:00
carlory
aa3572d860 cleanup after CloudDualStackNodeIPs is GA 2024-08-21 14:25:58 +08:00
carlory
91c48ab949 cleanup after LegacyServiceAccountTokenCleanUp is GA 2024-08-21 14:13:05 +08:00
tux
cc244e8d1d fix: use the getContext() method for evicting pods 2024-08-21 14:08:57 +08:00
Kubernetes Prow Robot
beb696c2c9
Merge pull request #126305 from richabanker/optimize-tests
Init common apiserver for all testcases in CEL tests
2024-08-21 02:04:59 +01:00
Stephen Heywood
4d228da965 Create e2e test for VolumeAttachmentStatus endpoints
e2e test validates the following 3 endpoints
- patchStorageV1VolumeAttachmentStatus
- readStorageV1VolumeAttachmentStatus
- replaceStorageV1VolumeAttachmentStatus
2024-08-21 12:15:00 +12:00
Aaron Prindle
780cfa572b feat: add EMULATED_VERSION env var and --emulated-version flag params to k8s binaries flags in hack/local-up-cluster.sh 2024-08-20 21:18:34 +00:00
Kubernetes Prow Robot
f6c88abb2a
Merge pull request #126805 from bart0sh/PR155-DRA-fix-TestGRPCConnIsReused
DRA: fix failing test
2024-08-20 11:05:21 -07:00
Kubernetes Prow Robot
31e2c8b75b
Merge pull request #126792 from Jefftree/patch-5
Annotate feature RetryGenerateName beta in comments
2024-08-20 09:01:55 -07:00
Kubernetes Prow Robot
2063d8dac1
Merge pull request #126352 from macsko/create_smaller_integration_scheduler_perf_cases
Make smaller workloads for scheduler_perf integration tests
2024-08-20 09:01:41 -07:00
Lan Liang
85b52c2a86 do not serial for tests of Pod Host IPs.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-20 12:08:19 +00:00
Kubernetes Prow Robot
d770dd695a
Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
Maciej Skoczeń
77372cf3cf Label short workloads in scheduler_perf tests 2024-08-20 10:04:30 +00:00
Maciej Skoczeń
09fc399837 Add label to select short workloads in scheduler_perf tests 2024-08-20 10:04:30 +00:00
Maciej Skoczeń
a2cd8aa539 Make smaller workloads for scheduler_perf integration tests 2024-08-20 10:04:25 +00:00
Patrick Ohly
89e2feaf46 DRA scheduler: fix feature gate check for PodSchedulingContext event
The event is only relevant when DRAControlPlaneController (= "classic DRA") is
enabled.

This change has no effect in practice because the only plugin using this event,
the dynamic resource plugin, also checks feature gates when asking for events
and correctly only asks for PodSchedulingContext events when
DRAControlPlaneController is enabled.
2024-08-20 10:49:08 +02:00
Ed Bartosh
9d893c83f0 DRA: fix failing test
Added error assertion for NodePrepareResources call unveiled
"rpc error: code = DeadlineExceeded desc = context deadline exceeded"
failure in the TestGRPCConnIsReused test.

Setting clientCallTimeout field when creating plugin should fix it.
2024-08-20 11:11:43 +03:00
Kubernetes Prow Robot
b8dcc2c983
Merge pull request #126802 from googs1025/fix/faker/scheduler_queue
[Flake Test] scheduler(queue): fix flake test for InFlightPods
2024-08-20 00:48:02 -07:00
googs1025
ff983bbfbf scheduler(queue): fix flake test for InFlightPods 2024-08-20 14:41:38 +08:00
Lubomir I. Ivanov
a9f681d40a kubeadm: sort the results of MergeKubeadmEnvVars
MergeKubeadmEnvVars use a map which results in non
deterministic output in the end slice EnvVar objects.
Before returning the slice, sort it by the Name field.

Update the unit test to capture the sorting aspect.
2024-08-20 09:11:53 +03:00
Lubomir I. Ivanov
ffbc494a4a kubeadm: add unit test for GetProxyEnvVars 2024-08-20 09:11:53 +03:00
Kubernetes Prow Robot
4f10b24503
Merge pull request #126716 from stlaz/tlscachekey_comparable
ensure tlsCacheKey is strictly comparable to avoid runtime panics
2024-08-19 18:14:08 -07:00