Commit Graph

128308 Commits

Author SHA1 Message Date
Hemant Kumar
f7c1799297 Handle returned error as placeholder variables for now 2025-02-24 16:26:48 -05:00
Hemant Kumar
fbce6bd610 Fix typecheck errors 2025-02-24 16:16:05 -05:00
Hemant Kumar
b51cbb1d17 Change plugin interfaces to use progress monitoring 2025-02-24 15:55:37 -05:00
Hemant Kumar
32752fe395 Add recommendation for using OnRootMismatch 2025-02-24 15:55:37 -05:00
Hemant Kumar
49dabe56d0 Monitor progress tracking for permission change 2025-02-24 15:55:37 -05:00
Kubernetes Prow Robot
65321bf5ee
Merge pull request #130214 from macsko/split_backoffq_into_backoffq_and_errorbackoffq
Split backoffQ into backoffQ and errorBackoffQ in scheduler
2025-02-24 10:48:36 -08:00
Kubernetes Prow Robot
b14fad5adc
Merge pull request #130181 from natasha41575/apiserver-generation
start setting pod metadata.generation
2025-02-24 10:48:29 -08:00
Antonio Ojea
ae991725b7 e2e uses websockets by default for portforward 2025-02-24 18:26:13 +00:00
Antonio Ojea
071b1bd839 e2e test use websockets as default for exec operations 2025-02-24 18:26:08 +00:00
vaibhav2107
a97c6a7045 Added the mergeDefaultEvictionSettings Kubelet Config 2025-02-24 23:06:06 +05:30
Kubernetes Prow Robot
3985b78f06
Merge pull request #130394 from Barakmor1/psa
[BugFix]Allow ImageVolume for Restricted PSA profiles
2025-02-24 09:26:35 -08:00
Kubernetes Prow Robot
c13f6b9d76
Merge pull request #130344 from tosi3k/wc-upper-bound-capacity
Add watch cache capacity upper bound adjusting logic
2025-02-24 09:26:28 -08:00
Natasha Sarkar
d02401dea9 start setting pod metadata.generation 2025-02-24 16:22:14 +00:00
Marek Siarkowicz
2de2093bce Add snapshotting of watch cache behind a feature gate 2025-02-24 17:15:50 +01:00
Kubernetes Prow Robot
dc3021b156
Merge pull request #130220 from serathius/streaming-json-tests
Add tests for encoding collections in JSON for KEP-5116
2025-02-24 07:26:36 -08:00
Kubernetes Prow Robot
7c59b07533
Merge pull request #130118 from lucasrattz/update-anp
Bump konnectivity-client to v0.31.2
2025-02-24 07:26:28 -08:00
Maciej Skoczeń
0f24b9ff45 Split backoffQ into backoffQ and errorBackoffQ in scheduler 2025-02-24 14:11:26 +00:00
bmordeha
059dee36f8
Allow ImageVolume for Restricted PSA profiles
Stop referring to ImageVolume as an unknown type during pod security admission validation.
Avoid restricting ImageVolume for the Restricted profile, as users who can create a pod
with a certain image should also be able to use ImageVolume with an image.

Signed-off-by: bmordeha <bmordeha@redhat.com>
2025-02-24 15:33:52 +02:00
Antoni Zawodny
2173a0fafd Add watch cache capacity upper bound adjusting logic 2025-02-24 14:25:39 +01:00
Kubernetes Prow Robot
06d81cfc7a
Merge pull request #130359 from my-git9/assertion1
fix wrong assertion on tests
2025-02-24 05:18:34 -08:00
Kubernetes Prow Robot
6511ba7e93
Merge pull request #130319 from pohly/dra-test-integration
DRA: add dedicated integration tests
2025-02-24 05:18:27 -08:00
Patrick Ohly
56bd8d86a5 test/integration: use default API groups in test apiserver
The goal is to make the test apiserver behave as much as kube-apiserver as
possible. This ensures that tests are as realistic as possible out-of-the-box.
If a test needs a special setup, then that should be visible in the test
because it passes additional flags or options.

One historic deviation from that goal was enabling all API groups. That
change (from 7185624688) gets reverted and tests
which happened to rely on this get updated.
2025-02-24 10:20:06 +01:00
Kubernetes Prow Robot
7bd0477a95
Merge pull request #130337 from pohly/hack-jenkins-split
hack: split up test-dockerized.sh
2025-02-24 00:26:27 -08:00
Kubernetes Prow Robot
aa96283764
Merge pull request #130306 from carlory/fix-130268
fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
2025-02-23 23:00:28 -08:00
carlory
b56d30e32a fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-24 11:24:58 +08:00
xin.li
d92c70b826 enable go-required check
Signed-off-by: xin.li <xin.li@daocloud.io>
2025-02-24 10:38:44 +08:00
Kubernetes Prow Robot
b066ddceb7
Merge pull request #130357 from tallclair/forbid-memory-limit-decrease
Fix pod resize E2E tests after forbidding memory limit decrease
2025-02-23 18:12:27 -08:00
Kubernetes Prow Robot
7f3d23554b
Merge pull request #129307 from LionelJouin/fix-129290
Add missing imports in register-gen
2025-02-23 12:54:27 -08:00
Lionel Jouin
c2afe4909d fix copyright year
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 20:39:16 +01:00
Lionel Jouin
de51ce79c0 ./hack/update-vendor.sh
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:55:33 +01:00
Henrik Schmidt
3ae5312c97 Generate register files for all examples
(cherry picked from commit b365634a0d0b2456e918729a9e4b1a4950902dc9)
2025-02-23 19:51:12 +01:00
Lionel Jouin
fb11415a69 add simpletype pkg in v1 for register-gen test
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
Lionel Jouin
e9c47f8601 Add codegen::register to hack/update-codegen.sh
Co-authored-by: Joe Betz <jpbetz@google.com>
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
Lionel Jouin
dc4fce61ce Add missing imports in register-gen
Due to a recent change in k8s.io/gengo/v2, the register-gen is
missing 2 imports.The imports were previously auto inserted during
the code generation by k8s.io/gengo/v2.
Now, instead, they are directly imported by the register-gen.

An output_tests has been added to register-gen. This generates an
example, which would have been invalid with these changes.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
xin.li
bc4ae15d77 fix wrong assertion on tests
Signed-off-by: xin.li <xin.li@daocloud.io>
2025-02-23 16:53:50 +08:00
Kubernetes Prow Robot
ef54ac803b
Merge pull request #130187 from mansikulkarni96/129084
fix:  Sweep and fix stat, lstat, evalsymlink usage for go1.23 on Windows
2025-02-22 11:50:26 -08:00
walnut07
a933481f79 use const rather than string in cgroup_v2_manager_linux.go 2025-02-22 21:58:04 +09:00
Patrick Ohly
a20a959b2c hack: split up test-dockerized.sh
This enables testing command and integration tests separately in CI jobs. The
goal is to reduce pull-kubernetes-integration to testing really just the Go
test/integration tests and to add a pull-kubernetes-cmd job for command tests.

hack/jenkins/test-dockerized.sh does the same as before because some jobs will
probably continue to use it.
2025-02-22 09:39:54 +01:00
Kubernetes Prow Robot
4032177faf
Merge pull request #129557 from googs1025/feature/add_QueueingHint_for_VolumeAttachment_deletion_events
feature(scheduler): add queueinghint for volumeattachment deletion
2025-02-22 00:10:26 -08:00
googs1025
86f504284c feature(scheduler): add queueinghint for volumeattachment deletion 2025-02-22 14:57:41 +08:00
Kubernetes Prow Robot
0a08529144
Merge pull request #129770 from sunnylovestiramisu/promoteGA
Promote Beta AnyVolumeDataSource to GA
2025-02-21 16:50:26 -08:00
Tim Allclair
ddd4c56893 Fix pod resize E2E tests after forbidding memory limit decrease 2025-02-21 15:46:33 -08:00
Jordan Liggitt
1f642c79c3
Drop winsymlink go 1.23 workaround
(cherry picked from commit 3990b6324d0427eaf9ff970da2be02711567ef5f)
2025-02-21 18:02:28 -05:00
mansikulkarni96
237aadab89
[hostutil_windows] Remove unix workaround 2025-02-21 18:02:28 -05:00
mansikulkarni96
2a32b21372
[test] handle ModeIrregular in getFilePerm for Go 1.23 2025-02-21 18:02:28 -05:00
mansikulkarni96
b9f6013c12
fix: handle socket file detection on Windows
Cherry-picked 4060ee60c1
Update socket file detection logic to use os.Stat as per upstream
Go fix for golang/go#33357. This resolves
the issue where socket files could not be properly identified on
Windows systems.
2025-02-21 18:02:28 -05:00
mansikulkarni96
dfc8b271cf
[kubelet] Make use of os.ModeSocket info 2025-02-21 18:02:25 -05:00
Kubernetes Prow Robot
b84cb65f93
Merge pull request #129370 from andyzhangx/adopt-go1.23-behavior-change
fix: adopt go1.23 behavior change in mount point parsing on Windows#2
2025-02-21 12:50:26 -08:00
Patrick Ohly
9492a2ca9b DRA: add dedicated integration tests
DRA had integration tests as part of test/integration/scheduler_perf (for the
scheduler plugin) and some others scattered in different
places (e.g. test/integration/resourceclaim for device status).

The new test/integration/dra is meant to become the common location for all
DRA-related integration tests. This makes it simpler to share common setup
code.
2025-02-21 20:48:04 +01:00
Kubernetes Prow Robot
6025e23ab6
Merge pull request #130348 from aojea/revert-128640-spreadkubeletlaod
Revert "Add random interval to nodeStatusReport interval every time after an actual node status change"
2025-02-21 11:36:32 -08:00