Commit Graph

49967 Commits

Author SHA1 Message Date
likakuli
ea6ca270b5 clean: add nodeinfo to cache
Signed-off-by: likakuli <1154584512@qq.com>
2024-06-25 21:29:05 +08:00
Kubernetes Prow Robot
ba19ecb8c9 Merge pull request #123298 from henry118/spell
Fix func name typo
2024-06-24 21:01:40 -07:00
Kubernetes Prow Robot
0d17892740 Merge pull request #123184 from googs1025/delete_repeat_comments
typo: delete useless comments
2024-06-24 16:48:32 -07:00
Kubernetes Prow Robot
1236f48109 Merge pull request #124770 from uucloud/docs/fix_tls_bootstrapping_link
docs:fix broken link
2024-06-24 13:36:34 -07:00
Kubernetes Prow Robot
fb6bbc9781 Merge pull request #125359 from yangjunmyfm192085/fixendpointslicemirroring
fix endpointslicemirroring controller not create endpointslice when the endpoints are recreate
2024-06-23 18:22:55 -07:00
杨军10092085
811bd53ee7 fix endpointslicemirroring controller not create endpointslice when the endpoints are recreate 2024-06-22 10:05:03 +08:00
Kubernetes Prow Robot
7c780186d7 Merge pull request #125473 from liggitt/serviceaccount-cleanup
Clean up service account options completion and fallback
2024-06-21 17:50:55 -07:00
Kubernetes Prow Robot
8c508c5480 Merge pull request #125527 from sanposhiho/gated-pods-filter-out-bug
fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod
2024-06-21 12:22:55 -07:00
Kubernetes Prow Robot
50f27d9ef4 Merge pull request #125613 from mimowo/job-controller-cleanup-tests
Assert on all conditions in the Job unit tests
2024-06-21 11:20:55 -07:00
Kubernetes Prow Robot
bdbd87be2b Merge pull request #125596 from skitt/stretchr-testify-mock
Switch to stretchr/testify / mockery for mocks
2024-06-21 09:23:02 -07:00
Michal Wozniak
7b5d3f5bc1 Assert on all conditions in the Pod Failure policy tests 2024-06-21 15:42:14 +02:00
Kensei Nakada
98a3182398 correct comment 2024-06-20 23:48:42 +00:00
Kensei Nakada
2304806cbe elaborate comment more 2024-06-20 23:43:41 +00:00
Kensei Nakada
fa8da84835 remove fixme comment 2024-06-20 23:36:25 +00:00
Kensei Nakada
2c4dc6b65b elaborate comments 2024-06-20 23:36:05 +00:00
Dejan Zele Pejchev
11b6e4c404 count ready pods when deleting active pods for failed jobs 2024-06-21 01:07:40 +02:00
Kubernetes Prow Robot
cc2946e5d1 Merge pull request #125515 from mimowo/refactor-terminating-counter
Refactor tracking of terminating pods in Job controller
2024-06-20 13:01:41 -07:00
Stephen Kitt
3f36c83c68 Switch to stretchr/testify / mockery for mocks
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.

Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-06-20 19:42:53 +02:00
Kubernetes Prow Robot
3ee4d98364 Merge pull request #125576 from alvaroaleman/fix
Corev1.Node: Link to node doc and not PV doc in status.capacity
2024-06-20 10:19:49 -07:00
Kubernetes Prow Robot
a4b8edd0f7 Merge pull request #125104 from enj/enj/i/sa_generics
serviceaccount: use generics to remove runtime type checks during validation
2024-06-20 09:16:49 -07:00
Monis Khan
3da48466d6 serviceaccount: use generics to remove runtime type checks during validation
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-06-20 11:16:15 -04:00
Kubernetes Prow Robot
bb95d084a2 Merge pull request #125603 from mimowo/refactor-enact-finished-job
Refactor enactJobFinished util function for Job controller
2024-06-20 05:04:17 -07:00
Michal Wozniak
c12bcf4e94 Refactor enactJobFinished util function for Job controller 2024-06-20 13:02:54 +02:00
Marek Siarkowicz
0c0e19b343 Move ConsistentListFromCache to Beta default 2024-06-20 10:56:51 +02:00
Kubernetes Prow Robot
1519f80281 Merge pull request #125514 from DrAuYueng/remove-redundant-nil-check
Remove redundant nil check
2024-06-20 01:22:18 -07:00
Michal Wozniak
8cec2c7470 Refactor tracking of terminating pods in Job controller 2024-06-20 09:35:56 +02:00
Kubernetes Prow Robot
fc786fc6e8 Merge pull request #125552 from liggitt/fix-timeout-wiring
KEP-3221: Fix structured authorization webhook timeout wiring and detection
2024-06-19 19:00:16 -07:00
Kubernetes Prow Robot
b3db54ea72 Merge pull request #125016 from carlory/promote-portworx-csi-migration-default-on
Enables the Portworx in-tree driver to Portworx migration feature by default
2024-06-19 13:26:48 -07:00
Kubernetes Prow Robot
aeed1d0e1a Merge pull request #124842 from carlory/honor-pv-reclaim-policy-e2e
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:26:41 -07:00
Jordan Liggitt
c50f68d6ee Fix structured authorization webhook timeout wiring 2024-06-19 15:36:36 -04:00
Kubernetes Prow Robot
a008776ec9 Merge pull request #125279 from HirazawaUi/add-poddeleted-queueinghintfn
Add QueueingHintFn for pod events in VolumeRestriction plugin
2024-06-19 12:22:41 -07:00
carlory
4058178b8c Promote HonorPVReclaimPolicy to beta and enable it by default 2024-06-19 13:51:37 +08:00
Alvaro Aleman
5e56953337 Corev1.Node: Link to node doc and not PV doc in status.capacity
Currently, the go doc and as a result the generated swagger docs for
node.status.capacity links to a documentation page for PV capacity.
Update it to link to our nodes about node capacity and alloctable
instead.
2024-06-18 23:12:52 -04:00
Kubernetes Prow Robot
f70115206b Merge pull request #125082 from alexanderConstantinescu/kep-3836-v131
KEP 3836 - v1.31 update [promote to GA]
2024-06-18 17:12:52 -07:00
Kubernetes Prow Robot
a4092e3441 Merge pull request #125017 from fatsheep9146/syncPod-trace-record-error
SyncPod record error and set error status to span when return err is non-nil
2024-06-18 17:12:41 -07:00
Kubernetes Prow Robot
bd88faee8b Merge pull request #125520 from mimowo/cleanup-success-policy-check
Remove redundant check in Job success policy code
2024-06-18 12:40:09 -07:00
Kubernetes Prow Robot
b616d91675 Merge pull request #122636 from lianghao208/pod_condition
kube-scheduler: fix empty lastTransitionTime in pod condition
2024-06-18 10:39:35 -07:00
Kubernetes Prow Robot
44b2c363f2 Merge pull request #125549 from liggitt/validate-controller-revision
Ensure controller revision data is valid json
2024-06-18 08:58:38 -07:00
Kubernetes Prow Robot
64355780d9 Merge pull request #125495 from pohly/dra-scheduler-fix-parameter-indexing
DRA: fix indexing of generated parameters
2024-06-18 04:10:38 -07:00
Kubernetes Prow Robot
ab8ad49b47 Merge pull request #125533 from kaisoz/sched-test-disruption-target-cond
scheduler: Test that the DisruptionTarget condition is added at preemption time
2024-06-18 01:14:28 -07:00
Kubernetes Prow Robot
2c1aa2bfec Merge pull request #125459 from MinpengJin/master
Promote LogarithmicScaleDown to GA
2024-06-17 20:21:40 -07:00
Kubernetes Prow Robot
e7d0aaa9e3 Merge pull request #125519 from mimowo/remove-unusued-param
Remove unused parameter in Job controller function
2024-06-17 14:38:32 -07:00
Jordan Liggitt
d6d78c5581 Ensure controller revision data is valid json 2024-06-17 14:32:51 -04:00
Tomas Tormo
8d7c113434 Test that the DisruptionTarget condition is added at preemption 2024-06-17 16:59:52 +00:00
HirazawaUi
f9693e0c0a Implement QueueingHintFn for pod deleted event 2024-06-17 22:42:04 +08:00
Kensei Nakada
dd3af9a85b fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod 2024-06-17 01:14:34 +00:00
Sean Sullivan
3ae3b4ea55 Graduate PortForwardWebsockets to Beta 2024-06-15 16:09:23 -07:00
Michal Wozniak
7a3d73d234 Remove redundant check in Job success policy code 2024-06-14 19:59:40 +02:00
Michal Wozniak
18a14bcff9 Remove unused parameter in Job controller function 2024-06-14 19:43:19 +02:00
Kubernetes Prow Robot
e6616033cb Merge pull request #120844 from bzsuni/cleanup/sets/kubelet
[kubelet] Use a generic Set instead of a specified Set
2024-06-14 09:09:17 -07:00