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
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
Joe Betz
2595aa1309
generate
2024-09-03 14:26:26 -04:00
古九
a1f0fc8f72
support the job controller handles the orphan pod using multi workers
2024-08-19 14:03:27 +08:00
Yuki Iwai
551931c6a8
Graduate the JobSuccessPolicy to beta
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-23 09:29:06 +09:00
Yuki Iwai
6e8dc2c250
Job: Extend the jobs_finished_total metric reason label with SuccessPolicy and CompletionsReached
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-23 09:29:02 +09:00
Yuki Iwai
594490fd77
Job: Add the CompletionsReached reason to the SuccessCriteriaMet condition
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-22 21:24:52 +09:00
googs1025
6626b9ce28
chore(Job): remove deprecated fake.NewSimpleClientset method
2024-07-19 23:46:29 +08:00
googs1025
75a4cfbd58
chore(Job): use ctx.Done() instead of stopCh
2024-07-19 23:43:36 +08:00
googs1025
af5b8bed70
chore(Job): use WaitForCacheSync method after sharedInformerFactory Start
2024-07-19 23:41:20 +08:00
Michal Wozniak
1be4df6e02
Cleanup Job controller isPodFailed function
2024-07-18 09:08:23 +02:00