15777 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
83101dfc66 Merge pull request #133746 from jsafrane/automated-cherry-pick-of-#133425-release-1.33
Automated cherry pick of #133425: Fix SELinux label comparison
2025-09-04 02:27:24 -07:00
Kubernetes Prow Robot
a197a68909 Merge pull request #133122 from vr4manta/automated-cherry-pick-of-#132891-upstream-release-1.33
Automated cherry pick of #132891: Added NodeSelectors field to external DriverDefinition
2025-09-04 02:27:16 -07:00
Jan Safranek
fe2d1b2687 Add missing cases to SELinuxMount tests 2025-08-28 10:31:15 +02:00
Dan Winship
9d09997311 Remove patch/update from ServiceCIDR API conformance test
They were already listed in ineligible_endpoints.yaml, so we shouldn't
be testing them here anyway.
2025-08-21 09:09:11 -04:00
Benjamin Elder
a2ef871e58 remove failing test that depends on expired credential, remove credential, add TODOs
see: https://github.com/kubernetes/kubernetes/issues/130271
2025-07-28 16:31:06 -07:00
vr4manta
d8676a24cc Added NodeSelectors field to DriverDefinition 2025-07-22 08:21:08 -04:00
Jan Chaloupka
f240b3abf5 SchedulerPreemption [Serial] validates various priority Pods preempt expectedly with the async preemption: replace finalizers with preStop hook and TerminationGracePeriodSeconds
Finalizers do not work as expected when an informer with a field
selector is used. Any time a pod changing its state gets excluded by the
field selector a synthetic delete event is issues even though the pod
with a finalizer set is still present. Thus, making the scheduler
schedule the high and medium priority pods before any of the low
priority pod finalizers is removed. Instead, rely on preStop hook and
TerminationGracePeriodSeconds to keep all low priority pods long enough
included by the field selector so all high priority pods can set their
.status.nominatedNodeName field.

Also, update the check for how many medium priority pods are expected to
be scheduled. Each node can accept 10 pods of the given extended
resources. Given there's 5 high priority created per node, there's
always 5 times number of nodes spots left for the medium priority pods.
2025-05-14 16:23:46 +02:00
Jordan Liggitt
95b926c93a Feature-gate watchlist e2e 2025-04-19 17:18:31 -04:00
Antonio Ojea
a8f6d77c8d ServiceCIDR and IPAddess Conformance
Change-Id: I6ee188cc8c163c312f8a8da9f1277d83e1ea634c
2025-04-15 21:47:43 +00:00
Kubernetes Prow Robot
cfed8c7d41 Merge pull request #131234 from carlory/fix-131229
Fix flaky test: Metrics should grab all metrics from kubelet /metrics/resource endpoint
2025-04-14 08:19:13 -07:00
Kubernetes Prow Robot
d6e3f34f70 Merge pull request #131211 from BenTheElder/max-pods
fix flaky garbage collector tests
2025-04-14 08:19:06 -07:00
carlory
7d7fc2d989 Fix flaky test: Metrics should grab all metrics from kubelet /metrics/resource endpoint
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-11 11:30:28 +08:00
Jan Safranek
e5a5f726dd Tag SELinux tests that require SELinux warning controller
The controller is available only with SELinuxChangePolicy FG enabled.
Kubernetes e2e jobs do the right --focus & --skip explicitly in the SELinux
jobs, this just helps other test runners to figure out what FGs are needed
to run the tests.

When at it, I noticed SELinuxMountReadWriteOncePod tag is always required, so
add it on the common level and not in each test.
2025-04-10 14:36:02 +02:00
Benjamin Elder
1eab3036b6 mark tests that use estimateMaxPods as serial 2025-04-08 14:46:38 -07:00
Benjamin Elder
b2933c0ada estimate some system daemonset overhead for max pods 2025-04-08 14:46:06 -07:00
Kubernetes Prow Robot
bdda0a530e Merge pull request #131090 from natasha41575/deflakeCgroupNotFound
[FG:InPlacePodVerticalScaling] deflake - wait for containers to have started before doing cgroup check
2025-03-28 00:54:34 -07:00
Natasha Sarkar
5c7491bf08 accept rounded container cpu limits in container cgroup tests (#131059) 2025-03-27 23:40:34 -07:00
Natasha Sarkar
d349ac57e4 wait for containers to have started before doing cgroup check 2025-03-27 20:52:44 +00: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
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
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
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
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
Sreeram
f035e37c4b Added e2e test and fixed existing pod test 2025-03-25 02:05:30 +05:30
Jean-Marc François
4db8e8cc1d Add configurable tolerance e2e test. 2025-03-21 18:48:38 -04:00
Kubernetes Prow Robot
dd43c3d29d Merge pull request #130953 from tallclair/ippr-e2e
Run in-place resize tests in default CI jobs
2025-03-21 12:18:31 -07:00
Kevin Hannon
a237f429fc Revert "Separate SeparateDiskTests from eviction" 2025-03-21 12:29:30 -04:00
Kubernetes Prow Robot
f2d8eb036f Merge pull request #130959 from tallclair/ippr-tests
De-flake infeasible resize test
2025-03-21 00:54:31 -07:00
carlory
a9526f6c7e add comment to the CPUManager feature label
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-21 10:42:32 +08:00
Tim Allclair
16f5fe6a26 Fix infeasible resize test 2025-03-20 19:17:13 -07:00
Tim Allclair
6873e81929 Run in-place resize tests in default CI jobs 2025-03-20 14:44:37 -07:00
Kubernetes Prow Robot
52ab771774 Merge pull request #130917 from vinaykul/ippr-mem-req-ucr
Invoke UpdateContainerResources or trigger container restarts when memory requests are resized
2025-03-20 13:08:56 -07:00
Dan Winship
2670462eb0 Remove TopologyHints and TrafficDistribution feature flags
The features are always enabled, so the tests don't need to be
conditional.
2025-03-20 15:06:33 -04:00
Kubernetes Prow Robot
451d032915 Merge pull request #130210 from everpeace/KEP-3619-promote-SupplementalGroupsPolicy-to-Beta
KEP-3619: Promote SupplementalGroupsPolicy feature to Beta
2025-03-20 11:24:37 -07:00
Kubernetes Prow Robot
9193be3aec Merge pull request #130383 from toVersus/chore/e2e-node-aghnhost
[e2e/node] update base image from busybox to agnhost
2025-03-20 09:22:40 -07:00
vinay kulkarni
d62e766dad Fix function comment 2025-03-20 16:13:45 +00:00
Patrick Ohly
2d05c3849a DRA E2E: fix "cluster must manage ResourceSlices" test
Adding SharedCounters broke the test and wasn't detected in the presubmit
because the test is slow and didn't run.

We could add a "SharedCounters is empty" clause, but probably it is safer
to be less strict in the test and tolerate unknown fields. This will also
minimize the work which needs to be done in the v1beta2 PR.
2025-03-20 13:40:43 +01:00
Kubernetes Prow Robot
6b8e5a9457 Merge pull request #130931 from nojnhuh/dra-vap-e2e
Remove unused VAP for DRA admin access e2e test
2025-03-20 01:36:51 -07:00
vinay kulkarni
1208f25b3f Verify oom_score_adj for containers that have been restarted in pod resize e2e 2025-03-20 05:57:41 +00:00