Commit Graph

6661 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7b7a7968d4 Merge pull request #125314 from enj/enj/i/proto_for_core
Use protobuf for core clients
2024-10-24 18:20:54 +01:00
Adrian Moisey
4d2f3ed8e6 Ensure that a node's CIDR isn't released until the node is deleted
Fixes https://github.com/kubernetes/kubernetes/issues/127792

Fixes bug where a node's PodCIDR was released when the node was given a
delete time stamp, but was hanging around due to a finalizer.
2024-10-24 13:19:34 +02:00
Kubernetes Prow Robot
aa8f2878a5 Merge pull request #117943 from lowang-bh/lessFunCall
improve: reduce function calling number
2024-10-24 04:52:52 +01:00
Aldo Culquicondor
5fab6175b7 Remove alculquicondor from job approvers
Change-Id: I2b1514ff70108602a589522cbb63dcdc88849313
2024-10-23 17:58:55 +00:00
Monis Khan
6595fa4026 Fix tests that assume core clients use JSON
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-10-23 11:35:30 -04:00
Kubernetes Prow Robot
ea379082fb Merge pull request #126322 from lance5890/ds_update_typo
typo: update the daemon update typo
2024-10-23 01:18:06 +01:00
Kubernetes Prow Robot
6edbee19b9 Merge pull request #123152 from tnqn/fix-error-log
Fix internal error when serializing groupLookupFailures in log
2024-10-23 01:17:29 +01:00
Kubernetes Prow Robot
71523a7db6 Merge pull request #122644 from gyuho/logs-removing-taints
chores(controller/nodelifecycle): make node taint removal logs more a…
2024-10-23 01:17:15 +01:00
Kubernetes Prow Robot
3e66160f30 Merge pull request #107362 from shawnhanx/controller_redundant
remove redundant return statement in attachdetach/util/util.go
2024-10-23 01:16:53 +01:00
Kubernetes Prow Robot
b1b4e5d397 Merge pull request #128003 from pohly/dra-classic-dra-removal
DRA: remove "classic DRA"
2024-10-18 00:55:17 +01:00
Kubernetes Prow Robot
b7d1766c18 Merge pull request #128158 from pohly/dra-controller-logging
DRA resource claim controller: improve log messages
2024-10-17 20:31:11 +01:00
Kubernetes Prow Robot
51f76febd7 Merge pull request #127402 from mimowo/managed-by-beta-update
Graduate JobManagedBy to Beta in 1.32
2024-10-17 19:27:14 +01:00
Patrick Ohly
d572df2493 DRA resource claim controller: improve log messages
Some code paths didn't log anything. One log message about "claim got deleted"
was incorrect.
2024-10-17 18:28:55 +02:00
Kubernetes Prow Robot
1f9038a468 Merge pull request #127919 from carlory/fix-127852
Fix data race in kubelet/volumemanager
2024-10-17 14:57:03 +01:00
Michal Wozniak
70a8ceb6f0 Graduate JobManagedBy to Beta in 1.32
# Conflicts:
#	pkg/features/kube_features.go
2024-10-17 09:01:54 +02:00
Patrick Ohly
f84eb5ecf8 DRA: remove "classic DRA"
This removes the DRAControlPlaneController feature gate, the fields controlled
by it (claim.spec.controller, claim.status.deallocationRequested,
claim.status.allocation.controller, class.spec.suitableNodes), the
PodSchedulingContext type, and all code related to the feature.

The feature gets removed because there is no path towards beta and GA and DRA
with "structured parameters" should be able to replace it.
2024-10-16 23:09:50 +02:00
Kubernetes Prow Robot
a1df68a31f Merge pull request #125118 from jsoref/from-to
Order ScalingReplicaSet message from->to
2024-10-09 08:36:22 +01:00
Josh Soref
502c05ed01 chore: Order ScalingReplicaSet message from->to
* change format of event
* include `from 0` for new replicas
* update describe tests to reflect current output

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-08 09:59:29 -04:00
carlory
4c10212d7b Fix data race in kubelet/volumemanager 2024-10-08 16:39:02 +08:00
Eric Blake
fe5b74b1f8 docs: typo fix in VolumeAttachments
Fix typo and grammar in comments that get reflected through to the
generated documentation, regarding VolumeAttachments' use of
PersistentVolumes and PersistentVolumeClaims.

Signed-off-by: Eric Blake <eblake@redhat.com>
2024-09-30 08:37:10 -05:00
Matthieu MOREL
f777addb05 fix: use ErrorContains(t, err instead of Contains(t, err.Error()
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-26 22:22:20 +02:00
Kubernetes Prow Robot
5dd244ff00 Merge pull request #125796 from haorenfsa/fix-gc-sync-blocked
garbagecollector: controller should not be blocking on failed cache sync
2024-09-25 04:02:00 +01:00
Kubernetes Prow Robot
851cf43a35 Merge pull request #127487 from hakuna-matatah/jobperf-delete-eventhandler
Offload the main Job reconciler w.r.t cleaning finalizers
2024-09-23 18:08:06 +01:00
Kubernetes Prow Robot
f2700895a4 Merge pull request #127422 from srivastav-abhishek/go-vet-fix
Go vet fixes for gotip
2024-09-20 14:37:58 +01:00
Harish Kuna
0615ded5f7 keep delete handler and update handler consistent for finished jobs and offload mainqueue 2024-09-20 13:28:27 +00:00
Abhishek Kr Srivastav
95860cff1c Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-20 12:36:38 +05:30
Kubernetes Prow Robot
ae945462fb Merge pull request #126594 from omerap12/informet-validatingadmissionpolicystatus
chore(validatingadmissionpolicystatus): use WaitForCacheSync after sharedInformerFactory Start in unit test
2024-09-19 14:32:23 +01:00
Kubernetes Prow Robot
b1357bf988 Merge pull request #127378 from hakuna-matatah/jobperf-delete-eventhandler
Improve performance of Job controller delete event handler
2024-09-18 19:40:43 +01:00
Harish Kuna
77a3de3cfb Improve performance of Job controller delete event handler 2024-09-18 15:59:53 +00:00
Kubernetes Prow Robot
e367afe3bb Merge pull request #127397 from kannon92/cleanup-dra-deterministic-name
remove 1.27 deterministic support for resource claims
2024-09-18 14:30:43 +01:00
Kevin Hannon
03da672159 remove 1.27 deterministic support for resource claims 2024-09-18 08:25:06 -04:00
Yang Yang
dba4e42a39 bugfix: endpoints controller track resource version conrrectly
The endpoints controller store the resource version of the previous
Endpoints objects to avoid issues related to stale information on the
cache.

However, there can be update operations that succeed without increasing
the resource version, causing the endpoints controller to declare stale
the existing Resource Version and stopping the Endpoints to be updated.

Co-Author-By: Quan Tian <quan.tian@broadcom.com>
Co-Author-By: Yang Yang <yyyng@amazon.com>
2024-09-17 11:01:35 +00:00
haorenfsa
da5f6cf053 garbagecollector: fix logs & comments in gc sync
Signed-off-by: haorenfsa <haorenfsa@gmail.com>
2024-09-14 00:01:38 +08:00
haorenfsa
87ca404634 garbagecollector: add initialSyncTimeout for Run
Signed-off-by: haorenfsa <haorenfsa@gmail.com>
2024-09-14 00:01:37 +08:00
haorenfsa
d4fdfaf17d test/integration/garbagecollector: add test TestCascadingDeleteOnCRDConversionFailure which tests that GC controller cannot be blocked by a bad conversion webhook
Signed-off-by: haorenfsa <haorenfsa@gmail.com>
Co-authored-by: Andrew Sy Kim <andrewsy@google.com>
2024-09-13 23:14:41 +08:00
Andrew Sy Kim
e8b1d7dc24 garbagecollector: controller loop should not be blocking on failed cache sync
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: He Xiaoxi <xxhe@alauda.io>
2024-09-13 23:14:23 +08:00
Kubernetes Prow Robot
ed92309dfa Merge pull request #127253 from alculquicondor/mimowo_job
Nominate mimowo to approvers of job controller
2024-09-12 17:09:13 +01:00
Kubernetes Prow Robot
7bd36b50b4 Merge pull request #127258 from KPostOffice/testing-logger4job
Use logger context in job controller tests
2024-09-11 23:21:31 +01:00
Kubernetes Prow Robot
60cbbdf4b3 Merge pull request #127228 from hakuna-matatah/master
Improve Job Controller Performance
2024-09-11 23:21:18 +01:00
Kevin
234c055205 Use logger context in job controller tests
Signed-off-by: Kevin <kpostlet@redhat.com>
2024-09-11 15:47:12 -04:00
Harish K
d66c9ef286 Update pkg/controller/job/job_controller.go
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2024-09-10 10:18:53 -07:00
Harish Kuna
e45eef1d51 Increase Job Controller Performance 2024-09-09 21:12:31 +00:00
Aldo Culquicondor
637be82479 Add mimowo to approvers of job controller and its integration tests
Change-Id: Ie834aff7070685757c55b7fbcea3bcdef223f6b8
2024-09-09 20:12:02 +00:00
guozheng-shen
686ccceba3 Update node_lifecycle_controller.go
remove 'pod-eviction-timeout' comment
2024-09-09 14:36:41 +08:00
Joe Betz
2595aa1309 generate 2024-09-03 14:26:26 -04:00
Kubernetes Prow Robot
fd7642cfe4 Merge pull request #126745 from hungnguyen243/pvcScalabilityFix
Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results [fixed dead loop issue with idle work queue]
2024-08-27 19:16:57 +01:00
Hung Nguyen
152ab36a33 update error comment 2024-08-26 16:47:39 +00:00
Hung Nguyen
39b6bd1278 address pwschuurman's comments 2024-08-23 18:53:26 +00:00
Kubernetes Prow Robot
113b12c6fb Merge pull request #124439 from bells17/csi-translation-lib-structured-and-contextual-logging
Migrate k8s.io/csi-translation-lib/.* to structured logging
2024-08-19 18:13:54 -07:00
Kubernetes Prow Robot
8db6fc7e3f Merge pull request #126567 from fusida/refactor-job-controller
support the job controller handles the orphan pod using multi workers
2024-08-19 04:57:15 -07:00