Kubernetes Prow Robot
704d4840d0
Merge pull request #138887 from soltysh/replace_failed_pods
...
Simplify onlyReplaceFailedPods method
2026-05-26 01:15:14 +05:30
dom4ha
88948acc38
Remove v1alpha2 API definitions
...
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
8a52fb2ea9
Migrate references to v1alpha3 in tests, controllers, and remaining files
2026-05-22 12:50:19 +00:00
Joe Betz
119a1460c1
Generate deepcopy
2026-05-11 12:27:56 -04:00
Maciej Szulik
66c38f69b8
Simplify onlyReplaceFailedPods method
...
In our defaulting code we ensure that PodReplacementPolicy is set, its
value will depend on PodFailurePolicy being set or not, but we can
safely assume it's set. Thus the method onlyReplaceFailedPods is
sufficient to only verify PodReplacementPolicy and its value.
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-08 11:13:23 +02:00
Maciej Szulik
c35fd21a6b
Drop JobPodReplacementPolicy after the feature GA-ed in 1.34
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-07 12:05:44 +02:00
Maciej Szulik
57a80ebae8
Drop JobSuccessPolicy after the feature GA-ed in 1.33
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-05 11:09:40 +02:00
Maciej Szulik
432a3477cc
Drop JobBackoffLimitPerIndex after the feature GA-ed in 1.33
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-05 11:09:35 +02:00
zak905
04286814e7
clean up: remove loop variable capture
2026-04-28 23:53:27 +02:00
Kubernetes Prow Robot
b36864202b
Merge pull request #137755 from HirazawaUi/remove-SidecarContainers-feature-gate
...
Remove SidecarContainers feature gate
2026-04-23 08:16:45 +05:30
Mujib Ahasan
b9b0ff440d
remove accidently commited file
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2026-04-04 12:53:30 +05:30
HirazawaUi
964d79dd6e
Remove SidecarContainers feature gate
2026-03-19 15:56:47 +08:00
helayoty
68e30095de
Implement Workload and PodGroup integration with Job controller
...
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 20:32:37 +00:00
Prathamesh Bhope
408c17e102
job/metrics: promote metrics to beta and add test
2026-03-12 04:16:29 -07:00
Kubernetes Prow Robot
8275484dcf
Merge pull request #137297 from atombrella/feature/pkg_forvar_modernize
...
Remove redundant variable re-assignment in for-loops under pkg
2026-03-05 00:28:20 +05:30
Mads Jensen
f11bb48738
Remove redundant re-assignment in for-loops under pkg
...
This the forvar rule from modernize. The semantics of the for-loop
changed from Go 1.22 to make this pattern obsolete.
2026-03-02 08:47:43 +01:00
Mads Jensen
d11d54dc50
Update pkg/controller to use slices.Contains
2026-02-26 10:17:13 +01:00
Michael Aspinwall
008b92e0f6
Fix clearing job consistency store for all deletes
2026-02-25 17:13:50 +00:00
Michael Aspinwall
61d0dd30fb
Add the ability for the job controller to read its own writes
2026-02-25 01:19:48 +00:00
Kubernetes Prow Robot
df9a0bda18
Merge pull request #133797 from tico88612/cleanup/new-fake-with-options
...
Replace apimachinery/pkg/watch.NewFake with NewFakeWithOptions in pkg/controller
2026-01-08 03:01:38 +05:30
Michał Woźniak
5a7c90fb76
Allow mutable scheduling directives for suspended Jobs
2025-11-05 19:37:33 +00:00
Dejan Zele Pejchev
3dabd4417d
KEP-4368: Job Managed By; Promote to GA
...
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
2025-11-04 10:59:45 +01:00
Kubernetes Prow Robot
41673c7198
Merge pull request #134910 from tchap/kcm-controllers-thread-mgmt
...
pkg/controller: Improve goroutine management
2025-11-03 17:58:03 -08:00
Ondra Kupka
575e9eb64c
controller/job: Improve goroutine mgmt
...
Make sure all threads are terminated when Run returns.
2025-10-29 19:00:30 +01:00
Aditi Gupta
fa59ed7f82
pkg/controller: Use informer.RunWithContext in tests
2025-10-22 14:13:30 -07:00
Jordan Liggitt
91d135f344
Include relevant dimensions in pod controller indexing
2025-10-16 13:27:50 -04:00
Tim Allclair
4986abe0b8
Automated refactoring to use SetFeatureGatesDuringTest
2025-10-01 21:10:53 -07:00
Kubernetes Prow Robot
d03d25f47c
Merge pull request #133985 from aditigupta96/api-waitfornamedcachesync-with-context
...
Replace WaitForNamedCacheSync with WaitForNamedCacheSyncWithContext in pkg/controller/
2025-09-16 17:18:09 -07:00
Aditi Gupta
af231d2153
Replace WaitForNamedCacheSync with WaitForNamedCacheSyncWithContext in pkg/controller/
2025-09-16 14:51:34 -07:00
Maciej Szulik
46cc610e6f
Drop PodIndexLabel after the feature GA-ed in 1.32
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-09-11 19:32:48 +02:00
ChengHao Yang
ef96d9cbd2
Replace NewFake with NewFakeWithOptions in pkg/controller
...
CreateTestClient add the argument logger for support contextual logging
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2025-09-11 08:39:49 +08:00
Michal Wozniak
ac86e67b7d
Commonize filtering of Pods by Owner with all orphans in namespace
2025-06-30 08:07:21 +02:00
Kubernetes Prow Robot
49c20d6f44
Merge pull request #132173 from dejanzele/feat/promote-job-pod-replacement-policy-ga
...
KEP-3939: Job Pod Replacement Policy; promote to GA
2025-06-24 07:04:28 -07:00
xigang
66c611125c
Add namespace-aware orphan pod indexing
...
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-06-19 16:32:20 +08:00
xigang
91b4816c23
Optimize job controller performance: reduce work duration time & minimize cache locking
...
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-06-18 15:28:12 +08:00
Dejan Zele Pejchev
bccc9fe470
KEP-3939: Job Pod Replacement Policy; promote to GA
...
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
2025-06-16 16:26:03 +02:00
Eric Lin
1f46b3fdbf
Clean backoff record earlier
...
Once received job deletion event, it cleans the backoff records for that
job before enqueueing this job so that we can avoid a race condition
that the syncJob() may incorrect use stale backoff records for a newly created
job with same key.
Co-authored-by: Michal Wozniak <michalwozniak@google.com>
2025-06-06 18:31:38 +00:00
Kubernetes Prow Robot
fe5afa919b
Merge pull request #130333 from kmala/job
...
handle job complete update delayed event
2025-04-25 17:55:22 -07:00
Keerthan Reddy Mala
d4fd41285b
update the log message to reflect success and failed jobs
2025-04-08 10:21:02 -07:00
Keerthan Reddy Mala
551f3c7824
merge the integration tests into a single one
2025-04-07 17:37:19 -07:00
Keerthan Reddy Mala
c7d0ed5c48
add integration test for job failure event delay and remove the unit test
2025-04-01 12:38:15 -07:00
Keerthan Reddy Mala
1b8bbcac44
Add integration test
2025-03-20 15:04:44 -07:00
Kubernetes Prow Robot
04fb7ac18b
Merge pull request #130536 from tenzen-y/promote-successpolicy-to-ga
...
KEP-3998: Promote JobSuccessPolicy to Stable
2025-03-13 13:27:54 -07:00
Kubernetes Prow Robot
1c756849d6
Merge pull request #130591 from fmuyassarov/devel/logging
...
Refine logging levels in job, IPAM, and replicaSet
2025-03-12 07:13:47 -07:00
Feruzjon Muyassarov
4c6971007b
Refine logging levels in Job, IPAM, and ReplicaSet controllers.
...
Adjust logging levels in Job, IPAM, and ReplicaSet controllers from
V(0) to V(2), V(4), V(4) respectively to reduce noise. These logs
provide minimal value at the debug level (V(0)), so they have been
adjusted for better log clarity
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@est.tech>
2025-03-11 10:25:16 +02:00
Keerthan Reddy Mala
73afab1856
handle review comments
2025-03-10 14:01:29 -07:00
Keerthan Reddy Mala
51fdd55e87
use sync map for the cache
2025-03-06 15:56:07 -08:00
Yuki Iwai
749f03a49f
Gradeate Job SuccessPolicy to Stable
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-07 07:21:12 +09:00
Yuki Iwai
8202b791e9
Job: Use jobSuspended util for suspended detection
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-05 18:12:59 +09:00
Keerthan Reddy Mala
547c005cb7
handle job complete update delayed event
2025-03-04 14:42:13 -08:00