Kubernetes Prow Robot
4806519423
Merge pull request #130622 from pohly/DRAPrioritizedList
...
DRA: Prioritized Alternatives in Device Requests, II
2025-03-10 06:51:51 -07:00
Kubernetes Prow Robot
9d2fc46556
Merge pull request #130637 from serathius/watchcache-unify-validation
...
Unify ListOptions validation between cache and etcd
2025-03-10 04:41:46 -07:00
Patrick Ohly
89440b1239
DRA: integration tests for prioritized list
...
This adds dedicated integration tests for the feature to the general
test/integration/dra for the API and some minimal testing with the scheduler.
It also adds non-performance test cases for scheduler_perf because that is a
better place for running through the complete flow (for example, can reuse
infrastructure for setting up nodes).
2025-03-10 11:38:06 +01:00
Marek Siarkowicz
ccb607f06b
Unify ListOptions validation between cache and etcd
2025-03-10 11:36:24 +01:00
Tim Hockin
0ce4268b1f
Vendor randfill
2025-03-08 15:21:58 -08:00
Tim Hockin
e54719bb66
Use randfill, do API renames
2025-03-08 15:18:00 -08:00
Kubernetes Prow Robot
0eaee48ecb
Merge pull request #130569 from dims/update-to-latest-cadvisor-v0.52.0
...
Update to latest cadvisor @ v0.52.1 and new opencontainer/cgroups and drops opencontainers/runc
2025-03-07 17:09:51 -08:00
Kubernetes Prow Robot
2effa5e3cf
Merge pull request #130352 from natasha41575/kubelet-pod-observedgen
...
[FG:PodObservedGenerationTracking] Kubelet sets pod `status.observedGeneration` when updating the pod status
2025-03-07 13:33:45 -08:00
Davanum Srinivas
97a54dc4b0
update to v1.22.0-rc.0
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-03-07 13:45:34 -05:00
Kubernetes Prow Robot
0e2a2afc4c
Merge pull request #130635 from zimnx/fix-websocket-read-error
...
Return correct error upon websocket message read failure
2025-03-07 08:45:53 -08:00
Kubernetes Prow Robot
ea49618a74
Merge pull request #130489 from p0lyn0mial/upstream-fake-client-pass-opts
...
client-gen/fake: pass ListOptions to Watch method
2025-03-07 07:25:46 -08:00
Kubernetes Prow Robot
4468565250
Merge pull request #130470 from p0lyn0mial/upstream-fake-client-opts-watch
...
client-go/gentype/fake: sets opts.Watch true
2025-03-07 05:21:52 -08:00
Maciej Zimnoch
e1d3aaf861
Return correct error upon websocket message read failure
...
This fixes variable passed as error reason upon websocker message read failure.
Previously a wrong variable was passed resulting in returning failure with nil error reason.
2025-03-07 12:53:50 +01:00
Lukasz Szaszkiewicz
325a54f73d
./hack/update-codegen.sh
2025-03-07 12:43:44 +01:00
Lukasz Szaszkiewicz
d6ea91cf93
client-gen/fake: pass ListOptions to Watch method
2025-03-07 12:43:39 +01:00
Patrick Ohly
dfb8ab6521
DRA scheduler: fail in PreFilter when DRAPrioritizedList is disabled and used
...
This was previously caught during Filter by the allocator check. Doing it
sooner avoids wasting resources on a pod which ultimately cannot get scheduled.
While at it, be a bit more clear about which feature is disabled. The user
might not know that.
2025-03-07 08:45:32 +01:00
Kubernetes Prow Robot
9d45ea8b9d
Merge pull request #128586 from mortent/DRAPrioritizedList
...
Prioritized Alternatives in Device Requests
2025-03-06 21:01:44 -08:00
Joe Betz
9765fe4abb
Add all extra_pkgs needed by main API types to validation-gen
2025-03-06 19:45:17 -05:00
Natasha Sarkar
0140842add
update testdata for roundtrip and client tests
2025-03-06 22:31:15 +00:00
Natasha Sarkar
6edd921746
run 'make update'
2025-03-06 20:08:06 +00:00
Natasha Sarkar
eab9197d1a
Add observedGeneration and validation to pod status and conditions
2025-03-06 20:08:06 +00:00
Kubernetes Prow Robot
949abfc34f
Merge pull request #130453 from BenTheElder/gotoolchain-kms
...
kms-e2e: use setup_env / respect GOTOOLCHAIN / use kube-cross image
2025-03-06 10:27:44 -08:00
Marek Siarkowicz
15cb82b3b3
Separate compactWatchCache from increaseRV
2025-03-06 13:30:37 +01:00
Kubernetes Prow Robot
c30b1eb09b
Merge pull request #130589 from serathius/watchcache-opts
...
Pass storage.ListOptions to WaitUntilFreshAndList
2025-03-06 00:58:00 -08:00
Kubernetes Prow Robot
4696667025
Merge pull request #130543 from thockin/error_matcher_and_origin
...
Fix up ErrorMatcher from feedback
2025-03-06 00:57:52 -08:00
Kubernetes Prow Robot
d6c615dd65
Merge pull request #130422 from bertinatto/propagate-error-custom-resource-storage-2
...
Propagate error when creating CustomResourceStorage instead of panic'ing
2025-03-06 00:57:46 -08:00
Benjamin Elder
0e7e025c59
use kube-cross to build kms plugin
2025-03-05 15:42:04 -08:00
Benjamin Elder
a3009258da
fix dockerfile warning
2025-03-05 15:29:36 -08:00
Benjamin Elder
4d7f6eadf1
kms-e2e: use setup_env / respect GOTOOLCHAIN
2025-03-05 15:28:40 -08:00
Jefftree
c597cc1f30
Allow OpenAPI verification to pass both with and without strict alpha
...
handling
2025-03-05 21:31:40 +00:00
Tim Hockin
0a9f492eed
Fix up ErrorMatcher from feedback
...
a) Rename the type and drop the constructor
b) Make MatchErrors() into a Test() method
For followup:
c) Consider making ByType() assumed
d) Consider making ByField() assumed and handle nil as "don't care"
e) Consider making ByValue() assumed and handle nil as "don't care"
2025-03-05 09:52:44 -08:00
Kubernetes Prow Robot
2b025e6459
Merge pull request #130571 from hakuna-matatah/debug-upstream
...
Help debug latencies in authn and authz phase of Request
2025-03-05 07:57:52 -08:00
Kubernetes Prow Robot
c496aef96d
Merge pull request #130511 from z1cheng/issue_130395
...
Implement tests for encoding collections in Proto
2025-03-05 07:57:45 -08:00
Marek Siarkowicz
e6cf9dd166
Pass storage.ListOptions to WaitUntilFreshAndList
2025-03-05 15:35:31 +01:00
Fabio Bertinatto
796690637d
Propagate error when creating CustomResourceStorage instead of panic'ing
2025-03-05 10:45:57 -03:00
z1cheng
b88f026053
Implement tests for encoding collections in Proto
...
Signed-off-by: z1cheng <imchench@gmail.com >
2025-03-05 20:01:59 +08:00
Marek Siarkowicz
7a84e7630f
Run lists tests in subtests
2025-03-05 12:51:55 +01:00
Davanum Srinivas
5ecddb6571
update to latest cadvisor @ v0.52.0
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-03-05 06:36:39 -05:00
Harish Kuna
186e6ee2bd
Debug latencies in request handler
2025-03-05 00:21:03 +00:00
Kubernetes Prow Robot
89d0b7022a
Merge pull request #130549 from jpbetz/validation-gen-pr2
...
KEP-5073: Add declarative validation to scheme
2025-03-04 14:50:02 -08:00
Kubernetes Prow Robot
7d1643b9d1
Merge pull request #129411 from yongruilin/compatibility-version-migration
...
chore: migrate logging featuregates to versioned
2025-03-04 13:35:45 -08:00
yongruilin
4f7ce7513e
chore: migrate logging featuregates to versioned
2025-03-04 18:58:57 +00:00
Joe Betz
ffc1b32c66
Add declarative validation utility for use from strategies
2025-03-04 12:24:20 -05:00
Joe Betz
5ff334a158
Add declarative validation to scheme
2025-03-04 11:56:33 -05:00
Kubernetes Prow Robot
a5dda5d879
Merge pull request #130349 from jpbetz/validation-gen-pr1
...
KEP-5073: Declarative Validation: Add validation generator
2025-03-03 11:25:42 -08:00
Dan Winship
8bb597c0d2
Clean up some confusion around TrafficDistribution metrics
...
The EndpointSlice controller metrics had code to deal with
unrecognized TrafficDistribution values, and tested both "invalid" and
empty values, but TrafficDistribution is validated to always be either
nil or a recognized value, so those cases can't happen.
2025-03-03 11:06:41 -05:00
Dan Winship
fdddd8d18c
Port k8s.io/endpointslice from utils/pointer to utils/ptr
2025-03-03 11:04:39 -05:00
Joe Betz
a2f47e6586
Add validators: immutable
...
Co-authored-by: Tim Hockin <thockin@google.com >
Co-authored-by: Aaron Prindle <aprindle@google.com >
Co-authored-by: Yongrui Lin <yongrlin@google.com >
2025-03-03 09:49:51 -05:00
Joe Betz
63050550c3
Add validators: optional/required/forbidden
...
Co-authored-by: Tim Hockin <thockin@google.com >
Co-authored-by: Aaron Prindle <aprindle@google.com >
Co-authored-by: Yongrui Lin <yongrlin@google.com >
2025-03-03 09:49:51 -05:00
Joe Betz
31f4637217
Add validators: eachkey, eachval, subfield
...
Introduce a composable set of tags for validating child data.
This allows for point-of-use validation of shared types.
Co-authored-by: Tim Hockin <thockin@google.com >
Co-authored-by: Aaron Prindle <aprindle@google.com >
Co-authored-by: Yongrui Lin <yongrlin@google.com >
2025-03-03 09:49:51 -05:00