Alvaro Aleman
1cd71cbb14
ManagedFieldsObjectTracker: Reload scheme
...
In controller-runtime it is generally not expected to do any sort of
scheme registration if unstructured.Unstructured is used. To make this
work in the fakeclient, the fakeclient will register unstructured to
scheme if the scheme doesn't recognize the GVK.
This currently doesn't work with the `ManagedFieldsObjectTracker` as it
never reloads the scheme. This change makes it reload the scheme in an
inefficient but simple manner, which should be good enough for unit
tests.
2025-05-28 11:27:01 -04:00
Kubernetes Prow Robot
cefa8311bc
Merge pull request #131984 from soltysh/update_sigcli_security
...
Update security contacts for sig-cli owned repos
2025-05-28 08:24:17 -07:00
Kubernetes Prow Robot
02275ab94d
Merge pull request #131994 from mortent/PartitionableDevicesDisabledFix
...
DRA: Exclude individual devices when PartitionableDevices feature is disabled
2025-05-28 05:42:17 -07:00
Kubernetes Prow Robot
d70229fac7
Merge pull request #131798 from aramase/aramase/f/authn_metrics_beta
...
Promote automatic_reloads of authn config metrics to BETA
2025-05-27 18:54:17 -07:00
Morten Torkildsen
ee2d3b6a2c
DRA: Exclude individual devices when PartitionableDevices feature is disabled
2025-05-28 01:08:24 +00:00
Kubernetes Prow Robot
2f94274c88
Merge pull request #131562 from logica0419/kube-proxy-string-concat
...
Add missing space in string concatenation (kube-proxy)
2025-05-27 13:36:22 -07:00
Kam Saiyed
ab6fdf46d8
Move the autoscaling e2e tests to be ran in parallel ( #131091 )
...
* Move the autoscaling e2e tests to be ran in parallel to have coverage for concurrent hpa processing
* Move the autoscaling e2e tests to be ran in parallel to have coverage for concurrent hpa processing
* Update autoscaling_utils.go
2025-05-27 13:36:16 -07:00
Kubernetes Prow Robot
830c76ac83
Merge pull request #131970 from skitt/kubelet-pkg-errors
...
kubelet: drop dependency on github.com/pkg/errors
2025-05-27 10:18:34 -07:00
Kubernetes Prow Robot
d9c1b4ec9b
Merge pull request #131951 from dims/drop-usages-of-deprecated-otelgrpc-methods
...
Drop usages of deprecated otelgrpc methods (update to v0.60.0)
2025-05-27 10:18:26 -07:00
Kubernetes Prow Robot
1449265589
Merge pull request #131664 from jpbetz/subresources-enable-replicas
...
Migrate to declarative validation: ReplicationController/scale spec.replicas field
2025-05-27 09:14:16 -07:00
Maciej Szulik
4e3634bbbf
Update security contacts for sig-cli owned repos
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-05-27 16:51:51 +02:00
Kubernetes Prow Robot
a647c6a889
Merge pull request #131978 from cpanato/update-publ
...
update go version for publishing bot rules
2025-05-27 05:40:16 -07:00
Kubernetes Prow Robot
2824e598b7
Merge pull request #131973 from sanposhiho/qhint-graduate
...
feat: graduate QueueingHint to GA
2025-05-27 04:08:22 -07:00
Carlos Panato
6410329a07
update go version for publishing bot rules
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com >
2025-05-27 10:43:59 +02:00
Kubernetes Prow Robot
d348426eab
Merge pull request #131927 from pohly/dra-resourceslice-controller-resync-period
...
DRA resource slice controller: disable resync
2025-05-27 01:00:17 -07:00
Anish Ramasekar
60b5338d46
Promote automatic_reloads of authn config metrics to BETA
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2025-05-26 22:06:25 -07:00
Kubernetes Prow Robot
61360caf3d
Merge pull request #131967 from pohly/dra-e2e-resourceslice-publishing-errors
...
DRA E2E: fail test when ResourceSlice publishing fails
2025-05-26 21:18:20 -07:00
Kensei Nakada
f694c58c6c
feat: graduate QueueingHint to GA
2025-05-26 21:23:46 +02:00
Kubernetes Prow Robot
4c2a741aac
Merge pull request #131964 from skitt/kubectl-pkg-errors
...
kubectl: drop dependency on github.com/pkg/errors
2025-05-26 11:30:15 -07:00
Stephen Kitt
1310fc027a
kubelet: drop dependency on github.com/pkg/errors
...
The package is unmaintained, and kubelet doesn't appear to rely on the
functionality it provides on top of Golang errors (stack traces).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-05-26 16:41:38 +02:00
Kubernetes Prow Robot
b2dfba4151
Merge pull request #131962 from superbrothers/kubectl-explain-revert-output-shorthand
...
Revert shorthand for kubectl explain --output
2025-05-26 06:58:15 -07:00
Patrick Ohly
346fe182be
DRA E2E: fail test when ResourceSlice publishing fails
...
This can happen when a test is run in a cluster where a required feature gate
is turned off. Letting the test continue then fails less clearly. For example,
a test for partitionable devices runs with ResourceSlices which don't have
the additional fields for partitionable devices.
2025-05-26 15:30:39 +02:00
Kubernetes Prow Robot
dae746b59d
Merge pull request #131965 from macsko/skip_backoff_when_maxbackoff_is_zero
...
Skip backoff when PodMaxBackoffDuration is set to zero
2025-05-26 05:52:32 -07:00
Kubernetes Prow Robot
fe5b9896ae
Merge pull request #131818 from soltysh/kuberc_beta
...
Promote kuberc to beta
2025-05-26 05:52:25 -07:00
Davanum Srinivas
7c0f968ab2
Drop usages of deprecated otelgrpc methods
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-05-26 08:32:09 -04:00
Kubernetes Prow Robot
8a0f6370e4
Merge pull request #131941 from dims/update-to-latest-ishidawataru/sctp-dependency
...
update to latest ishidawataru/sctp dependency
2025-05-26 04:30:29 -07:00
Kubernetes Prow Robot
7389b86f53
Merge pull request #131930 from pohly/dra-kubelet-unit-test-error-flake
...
DRA kubelet: fix gRPC timeout flake
2025-05-26 04:30:22 -07:00
Kubernetes Prow Robot
8bfd795352
Merge pull request #131501 from joshjms/update-etcd-3.6.0-rc.4
...
Update etcd to v3.6.0
2025-05-26 04:30:15 -07:00
Kubernetes Prow Robot
f6530285a8
Merge pull request #131768 from aramase/aramase/f/authz_metrics_stable
...
Promote automatic_reloads of authz config metrics to BETA
2025-05-26 03:24:21 -07:00
Kubernetes Prow Robot
460a84a5da
Merge pull request #131642 from pohly/e2e-pod-exec-logging
...
client-go remotecommand: avoid "unexpected error" log when there is no error
2025-05-26 03:24:15 -07:00
Maciej Skoczeń
157903b09b
Skip backoff when PodMaxBackoffDuration is set to zero
2025-05-26 09:35:53 +00:00
Stephen Kitt
54b2fad033
kubectl: drop dependency on github.com/pkg/errors
...
The package is unmaintained, and kubectl doesn't rely on the
functionality it provides on top of Golang errors (stack traces).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-05-26 11:28:24 +02:00
joshjms
b461d80f3d
etcd: update etcd image to v3.6.0
...
Signed-off-by: joshjms <joshjms1607@gmail.com >
2025-05-26 15:06:50 +08:00
Kazuki Suda
df2857e777
Revert shorthand for kubectl explain --output
2025-05-26 12:16:48 +09:00
Joe Betz
1d17ca9b7e
generate code
2025-05-24 00:03:35 -04:00
Joe Betz
8ae7171041
Simplify subresource matching
2025-05-24 00:03:28 -04:00
Joe Betz
9715c90b31
Clarify errors and improve tests
2025-05-23 21:47:09 -04:00
Joe Betz
4cac349f86
Clarify group version lookup in validateDeclaratively
2025-05-23 21:47:08 -04:00
Joe Betz
c2eef42cf4
Add output_tests
2025-05-23 21:47:08 -04:00
Joe Betz
6284a0f50b
Tag types with +k8s:isSubresource and +k8s:supportsSubresource for scale
2025-05-23 21:47:08 -04:00
Joe Betz
7dc8660d03
Update testing to fully track subresources
2025-05-23 21:47:08 -04:00
Joe Betz
6ca6b7bb6a
Add +k8s:isSubresource and +k8s:supportsSubresource tags
2025-05-23 21:47:08 -04:00
Joe Betz
105391403f
Enable scale subresource in generated validations
2025-05-23 21:47:08 -04:00
Joe Betz
a3eddf7d85
Add declarative validation testing for replicationcontroller/scale
2025-05-23 21:47:07 -04:00
Joe Betz
356f395f0d
Enable declarative validation for replicationcontroller/scale
2025-05-23 21:47:07 -04:00
Joe Betz
030b4ab9cc
Add declarative validation testing to Scale.spec.replicas
2025-05-23 21:47:07 -04:00
Joe Betz
48e1079cf0
Add subresource mapping support to ValidateDeclaratively and introduce configs
...
# Conflicts:
# staging/src/k8s.io/apiserver/pkg/registry/rest/validate_test.go
2025-05-23 21:47:07 -04:00
Joe Betz
8c5c5fb761
Add origin and use apivalidation.ValidateNonnegativeField for Scale.spec.replicas validation.
...
This does not change the resulting errors but it makes declarative validation testing easier.
2025-05-23 21:47:07 -04:00
Joe Betz
d0f6fe30bf
Add k8s:minimum validation to Scale.spec.replicas
...
This applies to all group version kinds of Scale. Validation-gen must be enabled for all at the
same time since our testing checks that cross-GV declarative validation to matches.
2025-05-23 21:47:07 -04:00
Joe Betz
ffb4e003f7
Enable validation-gen for scale group-versions
...
This adds declarative validation for all all versioned types of Scale
since our testing uses apitesting.VerifyVersionedValidationEquivalence,
will fail if we don't convert them all at the same time.
2025-05-23 21:47:06 -04:00