Commit Graph

129384 Commits

Author SHA1 Message Date
Filip Křepinský
8db1426554 rename DeploymentPodReplacementPolicy FG to DeploymentReplicaSetTerminatingReplicas 2025-03-27 20:27:44 +01:00
Natasha Sarkar
83bb5d5705
deflake restart count assertions in in-place resize tests (#131055) 2025-03-27 07:56:40 -07:00
Kubernetes Prow Robot
047e4c8e56
Merge pull request #131039 from natasha41575/deflakeQuotaTest
deflake pod-resize-resource-quota-test
2025-03-26 11:12:39 -07:00
Kubernetes Prow Robot
070f0ad3bd
Merge pull request #129970 from mortent/AddResourceV1beta2API
Add resource v1beta2 API
2025-03-26 09:10:47 -07:00
Morten Torkildsen
1d42ba78ff Add e2e tests for resource v1beta2 API 2025-03-26 14:52:47 +00:00
Morten Torkildsen
e761be47a4 Run make update 2025-03-26 14:52:36 +00:00
Morten Torkildsen
39507d911f Add resource v1beta2 API 2025-03-26 14:41:09 +00:00
Patrick Ohly
52298cf36a DRA kubelet: fix potential flake in unit test
If the test binary ran long enough after test completion to reach the
ResourceSlice removal grace period, that background activity started and failed
because it was using out-dated state and an invalid testing.T pointer, causing
a panic.

The root cause was to leave those background activities running. They need to
be stopped before a test returns.
2025-03-26 09:40:21 +01:00
Kubernetes Prow Robot
c90a4b16b6
Merge pull request #130945 from danwinship/prefersame-e2e-test
e2e testing for PreferSameZone/PreferSameNode
2025-03-25 18:12:34 -07:00
Natasha Sarkar
2350e7a911 deflake pod-resize-resource-quota-test 2025-03-25 21:12:29 +00:00
Kubernetes Prow Robot
ef838fcc3f
Merge pull request #131054 from jsturtevant/fix-up-ginkgo-skips
[sig-windows] Ginkgo skip needs to run inside leaf node otherwise it panics
2025-03-25 13:52:44 -07:00
Kubernetes Prow Robot
bcea7a100b
Merge pull request #130980 from macsko/increase_number_of_pods_in_preemption_tests
Increase number of pods in PreemptionBasic and PreemptionPVs
2025-03-25 13:52:32 -07:00
Kubernetes Prow Robot
49b85354fe
Merge pull request #131036 from neolit123/1.33-fix-anonymous-auth-wait-all-cp-comp
kubeadm: fix WaitForAllControlPlaneComponents with anonymous auth
2025-03-25 07:54:34 -07:00
James Sturtevant
2073252d5a
Ginkgo skip needs to run inside leaf node otherwise it panics
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2025-03-25 06:59:26 -07:00
Kubernetes Prow Robot
ee41b03416
Merge pull request #131041 from dims/fix-cpu_manager_test-failure-in-ci-kubernetes-node-swap-ubuntu-serial
Fix cpu_manager_test-failure in ci-kubernetes-node-swap-ubuntu-serial
2025-03-25 04:38:32 -07:00
Kubernetes Prow Robot
ff25881bc1
Merge pull request #130556 from sreeram-venkitesh/kep-4960-container-stop-signals
KEP 4960: Container Stop Signals
2025-03-24 16:36:32 -07:00
Davanum Srinivas
d429c8b17d
debug cpu_manager_test failure
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-24 19:15:38 -04:00
Dan Winship
478a6f9d05 Add a tests for PreferSameNode 2025-03-24 18:47:45 -04:00
Dan Winship
0ee6b0dbfa Add "multi-node" TrafficDistribution test
The existing TrafficDistribution test didn't really distinguish "same
zone" from "same node". Add another test that makes sure there are at
least 2 nodes in each zone so it can do that.

(Keep the original test as well to avoid losing coverage in CI systems
with single-schedulable-node-per-zone clusters.)
2025-03-24 18:47:37 -04:00
Dan Winship
7956b37f62 Add test for trafficDistribution: PreferSameZone
(Identical to the PreferClose test.)
2025-03-24 18:47:36 -04:00
Dan Winship
23aff5dabd Split out the pieces of the TrafficDistribution test 2025-03-24 18:47:34 -04:00
Dan Winship
10cd54bee4 Streamling the node/zone-picking logic 2025-03-24 18:47:12 -04:00
Dan Winship
bc81a860b0 Abstract the logic of the TrafficDistribution test
Split the logic of creating the clients and the servers apart from the
logic of checking which clients connect to which servers. Add some
extra complexity to support additional use cases (like multiple
endpoints on the same node).
2025-03-24 18:47:10 -04:00
Dan Winship
b1a0fea4c6 Remove a level of indentation in the TrafficDistribution e2e
(No other changes to the code)
2025-03-24 18:46:50 -04:00
Dan Winship
8f7bb964de TrafficDistribution e2e cleanups
Remove endpointSlicesHaveSameZoneHints check. We are testing that
connections end up at the right endpoints. We don't need to validate
_why_ they go to the right endpoints, which is already tested by other
tests anyway. (Also, validating the hints becomes more complicated in
the same-node case, where there may or may not also be same-zone hints
depending on cluster configuration.)

Remove DeferCleanup calls; we don't need to delete anything manually
because namespaced resources will automatically be deleted when the
test case's namespace is deleted.

Remove a setting of pod.NodeName that was redundant with
e2epod.SetNodeSelection().
2025-03-24 18:46:28 -04:00
Kubernetes Prow Robot
34e80be133
Merge pull request #130797 from jm-franc/configurable-tolerance
Add support for HPA configurable tolerance
2025-03-24 14:20:32 -07:00
Sreeram
52c3010c8b Generated UPDATE_COMPATIBILITY_FIXTURE_DATA 2025-03-25 02:07:06 +05:30
Sreeram
d6d9a354d7 Generated files 2025-03-25 02:06:29 +05:30
Sreeram
f035e37c4b Added e2e test and fixed existing pod test 2025-03-25 02:05:30 +05:30
Sreeram
94ddb3a98f Implementation 2025-03-25 02:02:58 +05:30
Sreeram
cc466aa355 CRI API changes 2025-03-25 01:59:48 +05:30
Sreeram
0380f2c41c Validation 2025-03-25 01:58:04 +05:30
Sreeram
70540c9f43 API changes 2025-03-25 01:56:45 +05:30
Lubomir I. Ivanov
2037f39e20 kubeadm: use 'writer' everywhere in util/apiclient/wait.go 2025-03-24 21:45:11 +02:00
Lubomir I. Ivanov
310723b21c kubeadm: fix WaitForAllControlPlaneComponents with anonymous auth
When the kube-apiserver has --anonymous-auth=false,
the regular http.Client.Get() that WaitForAllControlPlaneComponents
does will not work.

Always use the discovery client when checking the health status
of the kube-apiserver.

Do a minor rework of struct fields and unit tests.

Replace nil client in cmd/phases/join/waitcontrolplane.go.
2025-03-24 20:58:59 +02:00
Kubernetes Prow Robot
62555cadc7
Merge pull request #130701 from roycaihw/psi-metrics
Surface Pressure Stall Information (PSI) metrics
2025-03-24 10:38:33 -07:00
Kubernetes Prow Robot
78e9ba9d9a
Merge pull request #131012 from dims/adjust-metrics-ranges-to-reflect-additional-ci-job-environments
Adjust metrics ranges to reflect additional CI job environments
2025-03-24 03:26:33 -07:00
Davanum Srinivas
a75cd2e0f4
Adjust metrics ranges to reflect additional CI job environments
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-23 20:35:01 -04:00
Kubernetes Prow Robot
37afe38abf
Merge pull request #130997 from dims/fix-container_spec_memory_swap_limit_bytes-in-ci-cos-cgroupv1-containerd-node-e2e-ci-jobs
Fix container_spec_memory_swap_limit_bytes in ci-cos-cgroupv1-containerd-node-e2e CI jobs
2025-03-23 10:06:33 -07:00
Kubernetes Prow Robot
dab4af9f4e
Merge pull request #130998 from dims/use-established-pattern-for-kubelet-metrics-url
Use established pattern for kubelet metrics url
2025-03-22 20:34:32 -07:00
Kubernetes Prow Robot
9a8c2a9fa3
Merge pull request #130990 from BenTheElder/inotify-watches-kube-up
kube-up.sh: set inotify limits
2025-03-22 12:06:30 -07:00
Davanum Srinivas
2bd0481d2c
Use established pattern for kubelet metrics url
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-22 07:44:01 -04:00
Davanum Srinivas
0486790592
Fix container_spec_memory_swap_limit_bytes in ci-cos-cgroupv1-containerd-node-e2e CI jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-22 07:28:05 -04:00
Benjamin Elder
a264b0015e kube-up.sh: set inotify limits
also debug inotify limits before/after setting
2025-03-21 16:43:22 -07:00
Jean-Marc François
4db8e8cc1d Add configurable tolerance e2e test. 2025-03-21 18:48:38 -04:00
Jean-Marc François
ac107137ce Refresh autogenerated files following the configurable tolerance updates. 2025-03-21 18:48:38 -04:00
Jean-Marc François
dc1696d807 Fix API doc and tolerance field handling when gate is flipped. 2025-03-21 18:48:37 -04:00
Jean-Marc François
2dd9eda47f Add configurable tolerance logic. 2025-03-21 18:48:37 -04:00
Jean-Marc François
11b6e2a375 Update test fixture to account for new tolerance field. 2025-03-21 18:48:37 -04:00
Jean-Marc François
a41284d9fa Add the HorizontalPodAutoscaler tolerance field.
Includes v2beta2 HPA round-trip conversion, defaulting, and validation.
2025-03-21 18:48:37 -04:00