Commit graph

30410 commits

Author SHA1 Message Date
Kubernetes Prow Robot
8e72274886
Merge pull request #139511 from sunya-ch/consumablecapacity-perf
DRA: Update scheduler_perf integration test cases of ConsumableCapacity
2026-06-13 14:42:32 +05:30
Kubernetes Prow Robot
598b6091f6
Merge pull request #139282 from adrianmoisey/promote-service-name-to-ga
KEP-5311 Promote relaxed validation for Services names to GA
2026-06-13 05:44:50 +05:30
Kubernetes Prow Robot
7b71350430
Merge pull request #139354 from antekjb/PerformanceTestForBasicPolicy
Add performance tests for basic policy workload scheduling
2026-06-13 04:48:45 +05:30
Kubernetes Prow Robot
d7eae6c8fd
Merge pull request #139483 from jm-franc/configurable-tolerance-it-refactor
Refactor integration test utilities
2026-06-12 21:00:42 +05:30
Kubernetes Prow Robot
bda8eb85a6
Merge pull request #139651 from nojnhuh/dra-tracker-taint-apiversion
Align DeviceTaintRule informer API version with handlers
2026-06-12 13:26:56 +05:30
Kubernetes Prow Robot
c2e3492837
Merge pull request #139637 from lalitc375/fix-flaky-test
Add retries to get CRD updated
2026-06-12 04:54:53 +05:30
Jon Huhn
44ec1164f4 Align DeviceTaintRule informer API version with handlers 2026-06-11 15:57:52 -05:00
Kubernetes Prow Robot
66ad1618f1
Merge pull request #139562 from yongruilin/dv-podspec-toleration
Add declarative validation for Toleration key format
2026-06-11 23:10:42 +05:30
Kubernetes Prow Robot
79751b17da
Merge pull request #137278 from humblec/update-npd-v1.35.2
Update node-problem-detector to v1.35.2 and remove addon manifests
2026-06-11 20:26:42 +05:30
Kubernetes Prow Robot
1b23e201c8
Merge pull request #139630 from zylxjtu/images
Bump up version of test images
2026-06-11 17:54:49 +05:30
Yongrui Lin
462aa20ad9 node: add declarative validation tests for toleration key
RuntimeClass across v1, v1alpha1, and v1beta1; prefixed and unprefixed keys.
2026-06-11 06:35:35 +00:00
Yongrui Lin
fd8870da09 batch: add declarative validation tests for toleration key
Job and CronJob; prefixed and unprefixed keys.
2026-06-11 06:35:35 +00:00
Yongrui Lin
627834ba06 apps: add declarative validation tests for toleration key
Deployment, DaemonSet, ReplicaSet, and StatefulSet; prefixed and unprefixed keys.
2026-06-11 06:35:35 +00:00
Yongrui Lin
ca4ae01f4d core: add declarative validation tests for toleration key
Pod, PodTemplate, and ReplicationController; prefixed and unprefixed keys.
2026-06-11 06:35:35 +00:00
Yongrui Lin
e4cc8f8e9d testing: skip unserved extensions/v1beta1 in validation equivalence sweep
Add WithSkipGroupVersions and apply it to the NetworkPolicy and Scale tests,
whose internal types also register under the now-unvalidated extensions/v1beta1.
2026-06-11 06:35:35 +00:00
Yongrui Lin
d1c82cbeb2 Regenerate validation code and protobuf for toleration migration
Output of hack/update-codegen.sh.
2026-06-11 06:35:28 +00:00
Kubernetes Prow Robot
3841ba06c2
Merge pull request #139530 from QiWang19/cleanuppod-grace-period
Set short termination grace period for test pods in MemoryQoS tests
2026-06-11 08:04:49 +05:30
Lalit Chauhan
48383741a4 Add retries to get CRD updated 2026-06-10 23:43:39 +00:00
Kubernetes Prow Robot
8f8aa9aae1
Merge pull request #139101 from lalitc375/conditions
Setup metav1.Condition for declarative valdiations.
2026-06-11 04:28:47 +05:30
zylxjtu
0f457ea8c5 Bump up version of test image
This is to bump up the test image version for busybox and nginx/nginxnew
to version which have the windows2025 support.
2026-06-10 20:35:25 +00:00
Kubernetes Prow Robot
b4e4d2cfc1
Merge pull request #139237 from aojea/webhook_idle_
webhook use resolved endpoint IP instead of cached
2026-06-11 01:49:53 +05:30
Kubernetes Prow Robot
f7a260bfc5
Merge pull request #139609 from amritansh1502/promote-agnhost-2.64.0
Promote agnhost e2e test image to 2.64.0
2026-06-10 23:09:06 +05:30
Amritansh Amritansh
64915c6459 Promote agnhost e2e test image to 2.64.0 2026-06-10 14:18:35 +05:30
Humble Devassy Chirammal
05033bc8ca Update node-problem-detector to v1.35.2 and remove addon manifests
Update node-problem-detector from v1.34.0 to v1.35.2 and remove all
related addon manifests and install logic that is no longer needed:

- Update version in build/dependencies.yaml, test/e2e_node/image_list.go
  and test/kubemark/resources/hollow-node_template.yaml.
- Remove cluster/addons/node-problem-detector/ entirely. No e2e tests
  depend on these manifests: e2e_node tests create NPD pods inline and
  GCE standalone mode runs NPD as a systemd service.
- Remove install-node-problem-detector function and DEFAULT_NPD_* vars
  from cluster/gce/gci/configure.sh along with the conditional that
  invoked it, since NPD is no longer installed as a standalone binary
  via this script.
- Remove the setup-addon-manifests calls for node-problem-detector from
  cluster/gce/gci/configure-helper.sh since the source directory no
  longer exists.
- Remove stale refPaths in build/dependencies.yaml that pointed to the
  deleted addon files.

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2026-06-10 14:04:57 +05:30
Kubernetes Prow Robot
586cc90409
Merge pull request #139378 from SergeyKanzhelev/builder-pattern-in-cri-client-6c8e7664
builder pattern in cri client
2026-06-10 12:44:02 +05:30
Sunyanan Choochotkaew
206e2feb9d
DRA: Update scheduler_perf integration test cases of ConsumableCapacity
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2026-06-10 10:18:42 +09:00
Jaegoo
2a0a95c811
Migrate secret type immutable (#136886)
* Wire up Secret for declarative validation

* Migrate Secret.Type to declarative immutable validation

* Add +k8s:optional tag to Secret.Type field

* Add TestDeclarativeValidate test for CREATE flow

* Add immutability test cases for unset->set and set->unset

* Fix ValidateDeclarativelyWithMigrationChecks call to include DeclarativeValidationConfig

* Fix double declarative validation by removing manual ValidateDeclarativelyWithMigrationChecks calls

The secret strategy embedded rest.DeclarativeValidation (which implements
DeclarativeValidationStrategy) but also called ValidateDeclarativelyWithMigrationChecks
directly inside Validate and ValidateUpdate. The REST handler and test framework
call ValidateDeclaratively separately after Validate/ValidateUpdate, causing
double execution that broke the AllDeclarativeEnforced test scenario.

Fix by returning only handwritten errors from Validate/ValidateUpdate, matching
the pattern used by csiDriverStrategy and other correctly-migrated strategies.

* Use alpha stability level for +k8s:immutable on Secret.Type

The validation-gen tool enforces that Beta-level tags cannot be used in
Stable validation. Change +k8s:immutable to
+k8s:alpha(since: "1.36")=+k8s:immutable to match other stable-API fields.
Regenerate zz_generated.validations.go and update test expected errors
with .MarkAlpha() accordingly.

* Update alpha stability level version from 1.36 to 1.37

Update +k8s:alpha(since: "1.36") annotations to 1.37 in types.go
and generated.proto for Secret.Type immutability and ReplicationController
declarative validation tags.

* Regenerate zz_generated.validations.go after rebase

Rebase onto latest master brought in validation-gen changes that add
.MarkShortCircuit() to immutable and optional field validations.

* Add generated declarative validation test files for Secret

validation-gen generates test/declarative_validation/core/secret/
as part of Secret declarative validation wiring.

* Add declarative validation coverage test for Secret.type immutability

The coverage checker requires all registered validation rules to be
exercised by tests. Add a test that triggers the immutable validation
error for Secret.type to satisfy coverage for the generated rule:
  v1, Kind=Secret: type FieldValueInvalid origin="immutable"

* Move Secret declarative validation tests to test/declarative_validation

Move all test cases from pkg/registry/core/secret/declarative_validation_test.go
to test/declarative_validation/core/secret/declarative_validation_test.go
per #138872, and remove the original file.

* Revert ReplicationController alpha tags from 1.37 back to 1.36

The since: "1.36" tags on ReplicationController fields track when those
tags were originally added (v1.36) and should not have been changed.
Only the newly added Secret.Type immutable tag targets 1.37.
2026-06-10 05:59:45 +05:30
Kubernetes Prow Robot
5d4ee2a71b
Merge pull request #136695 from chrishenzie/resource-quota-flake
Fix race condition in ResourceQuota e2e test
2026-06-10 02:27:45 +05:30
Qi Wang
82e38acb67 Set short termination grace period for test pods in MemoryQoS tests 2026-06-09 13:38:34 -04:00
Kubernetes Prow Robot
8437feaf44
Merge pull request #139580 from amritansh1502/test/agnhost-h2c-server
Add h2c-server subcommand to agnhost for HTTP/2 probe testing
2026-06-09 22:05:48 +05:30
Sergey Kanzhelev
d74b5907d5 builder pattern in cri client 2026-06-09 09:24:06 -07:00
Kubernetes Prow Robot
9dd88e41fa
Merge pull request #138985 from humblec/update-csi-sidecars
Update CSI sidecar images
2026-06-09 20:33:40 +05:30
Amritansh Amritansh
6cdc2da4c2 Add agnhost-h2c-server 2026-06-09 19:23:13 +05:30
Carlos Panato
dbe3ee8f44
Bump images and versions to go 1.26.4 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-06-09 11:51:56 +02:00
Humble Devassy Chirammal
79df48076c csi: update CSI sidecar images in test manifests
Update CSI sidecar container images to their latest stable releases
across the e2e test manifests:

- csi-provisioner:                          v6.2.0 -> v6.3.0
- csi-attacher:                             v4.11.0 -> v4.12.0
- csi-resizer:                              v2.1.0  -> v2.2.0
- csi-snapshotter:                          v8.5.0  -> v8.6.0
- csi-node-driver-registrar:                v2.16.0 -> v2.17.0
- livenessprobe:                            v2.18.0 -> v2.19.0
- csi-external-health-monitor-controller:   v0.17.0 -> v0.18.0

No change to hostpathplugin (v1.17.1 is current) or
csi-snapshot-metadata (v1.0.0 is current).

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2026-06-09 12:55:31 +05:30
Yongrui Lin
33565abba4 address feedback: make Job test fixture explicit about both-set case
Removes BackoffLimitPerIndex/MaxFailedIndexes defaults from validJobSpec
and adds tweakMaxFailedIndexes. Test cases now pass both tweaks
explicitly, matching cronjob's style — the truth table is visible at
the test case rather than hidden in the fixture.
2026-06-08 21:58:29 +00:00
Yongrui Lin
724809a4bc Regenerate batch generated code 2026-06-08 21:58:29 +00:00
Yongrui Lin
3c1f8c4fbc Add declarative validation tests for MaxFailedIndexes dependency
Adds a parity test for Job (new test/declarative_validation/batch/job
directory) and a case under cronjob exercising the
spec.jobTemplate.spec.backoffLimitPerIndex path.
2026-06-08 21:58:29 +00:00
Jean-Marc François
78cf0751a1 Move test utilities to a separate file. 2026-06-08 14:46:24 -04:00
Antoni Basista
ee536b9c77 Add performance tests for basic policy workload scheduling 2026-06-08 07:36:39 +00:00
HirazawaUi
e79d1a4271 Fix flaking e2e_node tests 2026-06-07 15:11:57 +08:00
Kubernetes Prow Robot
546c46f0d8
Merge pull request #139006 from rzlink/fix/e2e-common-race-conditions
test/e2e/common/node: poll for eventually-consistent state to reduce flakiness
2026-06-06 03:36:32 +05:30
Kubernetes Prow Robot
1b7d495d61
Merge pull request #136915 from Jefftree/range-stream
KEP 5966: Implement RangeStream for watch cache
2026-06-05 22:39:55 +05:30
Kubernetes Prow Robot
9fa4c1cfa3
Merge pull request #139397 from adrianmoisey/ipvs-feature-gate
KEP-5495: Add featuregate for IPVS
2026-06-04 17:47:48 +05:30
Adrian Moisey
f7265100cb
KEP-5495: Add featuregate for IPVS 2026-06-03 21:04:16 +02:00
Kubernetes Prow Robot
862d42080f
Merge pull request #139466 from soltysh/maxunavailable_beta3
KEP-961: maxUnavailable feature on by default
2026-06-03 22:09:55 +05:30
Kubernetes Prow Robot
a0afe51e25
Merge pull request #139129 from pohly/e2e-node-update-local
E2E node: enable using release archives for periodic jobs, simplified
2026-06-03 22:09:47 +05:30
Kubernetes Prow Robot
7a1385a332
Merge pull request #139402 from aman4433/svm-allow-notfound-patches
test/integration: fix flaky TestStorageVersionMigrationDuringChaos by extracting audit validation helper
2026-06-03 20:49:59 +05:30
Maciej Szulik
29915cc905
KEP-961: maxUnavailable feature on by default
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-06-03 15:44:57 +02:00
Kubernetes Prow Robot
e0c1c5bd3d
Merge pull request #138488 from yliaog/master
DRA Extended Resource: promote to GA in 1.37
2026-06-03 18:39:48 +05:30