Commit Graph

134908 Commits

Author SHA1 Message Date
Junhao Zou
a405844e66 scheduler_perf(fix): correct typos, clarify comments, and minor tweaks 2025-08-15 16:34:38 +08:00
Jon Huhn
bf6c86b562 DRA: wait for stats to converge in "creates slices" e2e test 2025-08-15 01:02:44 -05:00
Benjamin Elder
d3ba41467d set default log flush frequency in kube-proxy config validation tests 2025-08-14 18:16:15 -07:00
Benjamin Elder
69b3876fd1 set default flush frequency in kubeletconfiguration tests 2025-08-14 18:16:15 -07:00
Benjamin Elder
f9dcd5f713 validate that flush frequency must be positive
values <= 0 will cause a panic
2025-08-14 18:16:15 -07:00
Richa Banker
3995b6cf72 Register apiserver_resource_objects in TestDeleteStoreStats 2025-08-14 14:19:44 -07:00
Richa Banker
b77f4f2425 Align metrics hiding with deprecation policy
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-08-14 12:32:56 -07:00
Ben Luddy
0b16f0ae3c Test that auth{z,n} hook clients honor Kubelet's request encoding.
Kubelets can make a high volume of SubjectAccessReview and TokenReview requests via authn and authz
webhooks. Its default encoding, Protobuf, mitigates the serialization cost of these requests when
compared to client-go's default encoding, JSON. This test provides some insurance against changes to
webhook client construction that might cause the webhook clients to fail to respect Kubelet's
configured content type.
2025-08-14 13:26:49 -04:00
Kubernetes Prow Robot
9da4b7ecfb Merge pull request #133516 from cpanato/update-go-main
[go] Bump dependencies, images and versions used to Go 1.24.6 and distroless iptables
2025-08-14 06:23:10 -07:00
Kubernetes Prow Robot
7f81fe06c4 Merge pull request #133491 from tkashem/dra-flake-fix
fix flake in the dra scheduler plugin test
2025-08-14 02:57:08 -07:00
Carlos Panato
020b7052ca Bump dependencies, images and versions used to Go 1.24.6 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-08-14 09:46:06 +02:00
Abu Kashem
c8ab780edb dra plugin: assume claim after api call in bindClaim 2025-08-13 16:35:35 -04:00
Kubernetes Release Robot
81affffa1b CHANGELOG: Update directory for v1.31.12 release 2025-08-13 19:49:57 +00:00
Kubernetes Release Robot
8311c1d3d7 CHANGELOG: Update directory for v1.33.4 release 2025-08-13 19:46:23 +00:00
xuzhenglun
f0e52c1c47 add known example API group suffix to avoid race 2025-08-14 03:01:09 +08:00
yliao
edfa9a5bd2 added WithFlaky() to the device plugin test case: supports extended resources together with ResourceClaim 2025-08-13 17:57:33 +00:00
Kubernetes Release Robot
48a4967718 CHANGELOG: Update directory for v1.32.8 release 2025-08-13 14:49:49 +00:00
Lukasz Szaszkiewicz
cb1d04655f test-integration: set KUBE_PANIC_WATCH_DECODE_ERROR to false 2025-08-13 13:32:44 +02:00
Ville Vesilehto
aa819af85a chore: update CoreDNS to v1.12.3
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-08-13 08:52:10 +03:00
Mauricio Poppe
e1dd085ffe Add retries to node's crictl test.
In addition, simplify the test by only considering the output of
`crictl version` which already displays info about the container
runtime.
2025-08-12 16:31:39 +00:00
Lukasz Szaszkiewicz
7f4462398a e2e/watchlist: normalize dynamic 'Age' column in Table test to prevent test flake 2025-08-12 08:56:48 +02:00
xigang
3eb69eb852 Fix DaemonSet misscheduled status not updating on node taint changes
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-08-12 07:52:40 +08:00
Anish Ramasekar
39e7b2ce5e Migrate pkg/credentialprovider to structured logging
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-08-11 16:41:55 -07:00
Kubernetes Prow Robot
790393ae92 Merge pull request #133467 from natherz97/node-deletion-master
Update NodeRestriction to prevent nodes from updating their OwnerReferences
2025-08-11 15:29:06 -07:00
Cheng Gu
ddffd8e389 Allow IfNotPresent to be used in node e2e tests
Currently the node e2e tests overrides the image pull policy to PullNever,
if the policy is not PullAlways.
2025-08-11 22:28:20 +00:00
Nour
d4bd007d3b adds a list of available HTTP endpoints for the kube-controller-manager component under the /statusz page 2025-08-11 22:51:59 +03:00
Haowei Cai
ea9d7ff865 PSI test: add a CPU limit of 500m to cpu-stress-pod
The goal is to generate CPU pressure more reliably, especially when the node has plenty of CPUs.
2025-08-11 18:14:28 +00:00
Francesco Romani
8612c57d21 e2e: node: linter fix
fix linter suggestions.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 15:14:46 +02:00
Francesco Romani
e839adafb7 e2e: node: cpumanager: move shared code in topology manager tests
The topology manager tests wants to run a subset of cpumanager tests
while checking numa alignment. We should eventually rewrite
these bits to reuse the new and cleaner rewritten cpu manager tests.
For the time being, we move the shared bits in the topology manager
tests, so we are now enabled to remove the remaining obsolete
cpu manager tests with the rewritten ones.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00
Francesco Romani
af53d97786 e2e: node: cpumanager: move specific helpers
We're nearing the planned replacement of old cpumanager
tests with new ones, so move the remaining utilities
which we will keep using with the new codebase.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00
Francesco Romani
d86d798eae e2e: node: trivial rename
Since is now all about criprozy, rename utils_linux.go
to better express the purpose.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00
Francesco Romani
30ca634386 e2e: node: cpumanager: push utilities in util.go
Push more utilities from cpu manager tests to util.go.
This time there is not a clear (or big enough)
them for this set of shared code blocks.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00
Francesco Romani
bb7cff161c e2e: node: split utilities to learn machine properties
A lot ofe2e_node  tests need to re-learn machine HW
properties to check the correctness of the behavior.
Over time, we start using these utilities among different
test groups (e.g. memory manager tests use cpu manager tests
utilites). So let's de-entangle this state by moving
the shared utilities in a separate util file.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00
Francesco Romani
1a4e289cfa e2e: node: split kubeletconfig utilities
Is not ideal to heve utilities source file or packages,
because these tend to be unfocused and attract unstructured
code, easily leading to a kitchesink approach.
So, let's start cleaning up by splitting the utilities
we have to deal with kubelet config in its own source file,
lacking bandwidth now for deeper refactorings.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:02 +02:00
Roman Bednar
064b591617 improve CRD handling in VolumePopulator test
Test: provisioning should provision storage with any volume data source

During CSI certification test we observed that the test can fail
with a message:
"customresourcedefinitions.apiextensions.k8s.io \"volumepopulators.populator.storage.k8s.io\" already exists"

This is because the test does not consider that this CRD can be already
installed in the cluster.

The test was updated to handle the CRD better by creating it for the
duration of the test and removing it afterward. Otherwise, if the CRD
is already installed, the test will neither create nor remove it
2025-08-11 13:50:03 +02:00
Sergey Kanzhelev
944b0a4923 do not allow the node to update it's owner reference 2025-08-10 14:38:24 -07:00
Kubernetes Prow Robot
b4b973c237 Merge pull request #133321 from yliaog/assumecache
Fix dynamicresources_test flakiness
2025-08-09 18:03:44 -07:00
Kubernetes Release Robot
4d6b49b3fd CHANGELOG: Update directory for v1.34.0-rc.1 release 2025-08-08 21:01:45 +00:00
Kubernetes Prow Robot
f003bd2de3 Merge pull request #133431 from richabanker/etcd-metrics-delete
Remove DeprecatedVersion for apiserver_storage_objects, adjust help text
2025-08-08 11:39:43 -07:00
Richa Banker
a28eda435f Add sig-instrumentation as OWNERS for apiserver/pkg/storage/etcd3/metrics 2025-08-08 11:08:06 -07:00
Kubernetes Prow Robot
61a9d04e0a Merge pull request #133447 from mbianchidev/patch-1
Add release-1.34 configuration publishing bot rules for v1.34
2025-08-08 09:57:43 -07:00
Matteo Bianchi
e073a91256 Add release-1.34 configuration
Add release-1.34 configuration with Go version 1.24.5 and dependencies
2025-08-08 17:02:50 +02:00
Jan Safranek
1ea4720268 Add e2e test for SELinuxMount to CSI drivers 2025-08-08 14:25:24 +02:00
Jan Safranek
97edb4d5e4 Fix SELinux label comparison
The comparison of SELinux labels in KCM tolerates missing fields - the
operating system is going to default them from its defaults, but in KCM we
don't know what the defaults are.

But the OS won't default the last component, "level", which includes also
categories. Make sure that labels with a level set conflicts with level "",
that's what will conflict on the OS too.
2025-08-08 10:13:19 +02:00
Kubernetes Prow Robot
1b7557ecbc Merge pull request #133397 from yliaog/conformance
reduced numPods to 5 from 10 to fix flaky test (supports reusing resources) due to timeout
2025-08-07 22:27:42 -07:00
Richa Banker
cbd6fb867b Remove DeprecatedVersion for apiserver_storage_objects, adjust help text 2025-08-07 17:25:48 -07:00
John-Paul Sassine
76bbaa9d47 test: Standardize labels for ResourceHealthStatus e2e tests
This change updates the Ginkgo label for the Device Plugin e2e tests for the ResourceHealthStatus feature.

By switching from `feature.ResourceHealthStatus` to `framework.WithFeatureGate(features.ResourceHealthStatus)`, these tests will now have the `[FeatureGate:ResourceHealthStatus]` label, making them consistent with the new DRA e2e tests for the same feature.

This standardization allows a single presubmit job in `test-infra` to correctly select and run all e2e tests for this feature, ensuring complete test coverage.
2025-08-07 21:40:57 +00:00
Natasha Sarkar
9a6db5ad0b remove allocationManager's reference to containerManager 2025-08-07 19:21:16 +00:00
Kubernetes Prow Robot
ee065dfc80 Merge pull request #133409 from carlory/fix-rbac-podcertificaterequestcleaner
Make podcertificaterequestcleaner role feature-gated
2025-08-07 08:53:43 -07:00
Jan Safranek
9a8a4a3b44 Add missing cases to SELinuxMount tests 2025-08-07 17:24:53 +02:00