Filip Křepinský
aac00c1f0e
add orphanedPods parameter to getRSPods
...
and improve code flow in syncReplicaSet
2025-05-29 10:50:32 +02: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
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
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
Kensei Nakada
f694c58c6c
feat: graduate QueueingHint to GA
2025-05-26 21:23:46 +02: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
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
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
Maciej Skoczeń
157903b09b
Skip backoff when PodMaxBackoffDuration is set to zero
2025-05-26 09:35:53 +00:00
Joe Betz
1d17ca9b7e
generate code
2025-05-24 00:03:35 -04:00
Joe Betz
9715c90b31
Clarify errors and improve tests
2025-05-23 21:47:09 -04:00
Joe Betz
7dc8660d03
Update testing to fully track subresources
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
Patrick Ohly
699dce0a57
DRA kubelet: fix gRPC timeout flake
...
Something changed in Kubernetes such that "desc = stream terminated by
RST_STREAM with error code: CANCEL" is provided as root cause description
instead of "desc = context deadline exceeded".
The error code is the same, so we can test for the expected timeout by ignoring
the exact description.
2025-05-23 14:32:19 +02:00
Kubernetes Prow Robot
86da819709
Merge pull request #131693 from ania-borowiec/staging_repo_refactoring_action_type
...
Remove package protected fields from ActionType
2025-05-23 05:30:35 -07:00
googs1025
01820ff7c2
chore(scheduler): add filter integration tests for missing part plugins: NodeAffinity plugin
...
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-05-23 18:02:32 +08:00
Ania Borowiec
151d9d79f4
Remove package protected field updatePodOther from ActionType. Make ActionType.None public
2025-05-23 09:51:35 +00:00
Maciej Szulik
76f95271a5
kuberc: make update and update-vendor
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 11:02:58 +02:00
Kubernetes Prow Robot
9959b56b8d
Merge pull request #131868 from gnufied/remove-superflous-expansion-calls
...
Remove superflous expansion calls if controller finished expansion
2025-05-21 09:22:34 -07:00
Kubernetes Prow Robot
6da56bd4b7
Merge pull request #131752 from aramase/aramase/f/kep_3331_v1_api
...
Duplicate v1beta1 AuthenticationConfiguration to v1
2025-05-20 20:54:34 -07:00
Anish Ramasekar
67345417c0
Update tests to use v1 for AuthenticationConfiguration
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-05-20 16:42:23 -07:00
Kubernetes Prow Robot
889cd833a2
Merge pull request #131844 from pohly/dra-no-static-pods
...
DRA node: reject static pods which reference ResourceClaims
2025-05-20 07:07:24 -07:00
Kubernetes Prow Robot
444e2b4eb0
Merge pull request #131838 from dims/bump-google.golang.org/grpc-to-google-v1.72.1
...
Bump google.golang.org/grpc to google v1.72.1
2025-05-20 07:07:17 -07:00
Kubernetes Prow Robot
0afe2b839d
Merge pull request #129983 from nickbp/master
...
feature(scheduler): Customizable pod selection and ordering in DefaultPreemption plugin
2025-05-20 05:09:15 -07:00
Kubernetes Prow Robot
82db38a23c
Merge pull request #128748 from sanposhiho/attempt-incre
...
feat: introduce pInfo.UnschedulableCount to make the backoff calculation more appropriate
2025-05-19 01:21:15 -07:00
Davanum Srinivas
d043beb223
HealthChecker has a List method
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-18 12:52:13 -04:00
Kubernetes Prow Robot
2125fd6a94
Merge pull request #130161 from carlory/kep-2395-kubelet-cleanup
...
kubelet: clean up cloud provider code because cloud provider only supports empty or external and cloud is nil
2025-05-17 13:05:13 -07:00
Kensei Nakada
adc4916dfe
feat: introduce pInfo.UnschedulableCount to make the backoff calculation more appropriate
2025-05-17 12:39:58 +02:00
Kubernetes Prow Robot
b6bff1bd44
Merge pull request #131800 from BenTheElder/kubelet-testing
...
kubelet: don't import testing dependency in non-test code
2025-05-16 16:37:13 -07:00
Hemant Kumar
5da12b5aee
Add tests that validate the return value of resize operation
2025-05-16 08:16:24 -04:00
Kubernetes Prow Robot
a5e3df5e68
Merge pull request #131795 from aojea/kubectl_scheme
...
fix scheme import
2025-05-16 04:53:21 -07:00
Kubernetes Prow Robot
17161cb45d
Merge pull request #131617 from bart0sh/PR180-claimInfo-check-claimUID
...
DRA: kubelet: check for duplicate claim names
2025-05-16 04:53:14 -07:00
Antonio Ojea
65a27eb97d
restrict the use of scheme internally to client-go
...
Change-Id: Ic78c2d90f97d620cee29048bc3a40d6500d0fc1d
2025-05-16 08:48:39 +00:00
Nicholas Parker
7bccb1acb5
Update pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go
...
Co-authored-by: Dominik Marciński <gmidon@gmail.com>
2025-05-16 13:12:13 +12:00
Benjamin Elder
139fab0ebd
kubelet: don't import testing dependency in non-test code
...
refactor NewFakeHostStatsProvider to take an injected kubecontainer.OSInterface just like NewFakeHostStatsProviderWithData
this prevents importing a testing package into non-test files, so we can enforce not linking test packages into prod binaries
2025-05-15 12:46:03 -07:00
Kubernetes Prow Robot
347c54da6e
Merge pull request #131772 from sanposhiho/deepcopy-q
...
fix: add BackoffExpiration field to DeepCopy()
2025-05-15 12:01:14 -07:00
Ed Bartosh
8d8fd92966
DRA: test mismatched claim UIDs
2025-05-15 19:31:16 +03:00
Ed Bartosh
96da66054d
DRA: genTestClaimInfo: add claimUID parameter
2025-05-15 19:31:16 +03:00
Ed Bartosh
69e16d2f54
DRA: kubelet: check for duplicate claim names
...
Reject NodePrepareResources if the cached claim UID doesn't
match resource claim.
2025-05-15 19:31:11 +03:00
Kubernetes Prow Robot
ab89c406c4
Merge pull request #130949 from simonfogliato/kubelet-logs-cleanup
...
Removed unused function UncompressLog.
2025-05-15 08:49:13 -07:00
Antonio Ojea
b9fec8bf4f
fix scheme import
...
Change-Id: I9a94c06b931031a1c2391184342fd5ffa79e3128
2025-05-15 13:46:48 +00:00
Kubernetes Prow Robot
58f8906d84
Merge pull request #130094 from carlory/fix-toExternalResourceClaimOrError
...
fix wrong api version in toExternalResourceClaimOrError
2025-05-15 06:41:14 -07:00