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
Michal Wozniak
a91ed902fe
Graduate Backoff Limit Per Index as stable
...
Reenable the JobBackoffLimitPerIndex_Reenabling integration test
2025-02-26 17:06:37 +01:00
Gunju Kim
0bee0bcaa7
Promote SidecarContainers feature to GA
2025-02-02 17:45:36 +09:00
Patrick Ohly
8a908e0c0b
remove import doc comments
...
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:
- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.
This commit was generated with
sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')
Everything was included, except for
package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".
2024-12-02 16:59:34 +01:00
Yuki Iwai
5dda60ee4e
Job: Add evaluation step comments in the syncJob
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-11-07 23:36:44 +09:00
Alay Patel
3e3276e9fe
Promote PodIndexLabel for Statefulset and IndexedJob stable ( #128387 )
...
* lock feature gate for PodIndexLabel and mark it GA
Signed-off-by: Alay Patel <alayp@nvidia.com>
* add emulated version if testing disabling of PodIndexLabel FG
Signed-off-by: Alay Patel <alayp@nvidia.com>
---------
Signed-off-by: Alay Patel <alayp@nvidia.com>
2024-11-04 19:11:28 +00:00
Kubernetes Prow Robot
d001d5684e
Merge pull request #128417 from tenzen-y/self-nominate-job-controller-reviewer
...
Self nominate tenzen-y as a reviewer for the Job controller
2024-10-30 11:21:39 +00:00
Kubernetes Prow Robot
a18b50e7e4
Merge pull request #128373 from mimowo/job-cover-negative-codes
...
Job Pod Failure policy - cover testing of negative exit codes
2024-10-30 11:21:31 +00:00
Yuki Iwai
eca7ee877a
Self nominate tenzen-y as a reviewer for the Job controller
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-30 01:14:47 +09:00
Kubernetes Prow Robot
5f594f4215
Merge pull request #128401 from tenzen-y/use-same-receiver-name
...
Job: Consistentely use the same reveiver name in the controller
2024-10-29 08:16:55 +00:00
Yuki Iwai
d4959d8d29
Job: Consistentely use the same reveiver name in the controller
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-29 14:11:10 +09:00
Yuki Iwai
a23e7a42d3
Job: Refactor uncountedTerminatedPods to avoid casting everywhere
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-29 13:12:35 +09:00
Michal Wozniak
cad648035a
Job Pod Failure policy - cover testing of negative exit codes
2024-10-28 07:24:26 +01:00
Aldo Culquicondor
5fab6175b7
Remove alculquicondor from job approvers
...
Change-Id: I2b1514ff70108602a589522cbb63dcdc88849313
2024-10-23 17:58:55 +00: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
Harish Kuna
0615ded5f7
keep delete handler and update handler consistent for finished jobs and offload mainqueue
2024-09-20 13:28:27 +00:00
Harish Kuna
77a3de3cfb
Improve performance of Job controller delete event handler
2024-09-18 15:59:53 +00: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
Kevin
234c055205
Use logger context in job controller tests
...
Signed-off-by: Kevin <kpostlet@redhat.com>
2024-09-11 15:47:12 -04:00