Maciej Szulik
80ec726858
Fix how we iterate over active jobs when removing them for Replace policy
2016-11-03 14:54:38 +01:00
Kubernetes Submit Queue
7d911417c2
Merge pull request #35420 from soltysh/sj_replace_fix
...
Automatic merge from submit-queue
Remove Job also from .status.active for Replace strategy
When iterating over list of Jobs we're removing each of them when strategy is replace. Unfortunately, the job reference was not removed from `.status.active` which cause the controller trying to remove it once again during next run and failed removing what was already removed during previous run. This was cause by not removing the reference previously. This PR fixes that and cleans logs a bit, in that controller.
@erictune fyi
@janetkuo ptal
2016-10-30 05:08:43 -07:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Maciej Szulik
dc364b8ebb
Remove Job also from .status.active for Replace strategy
2016-10-25 21:44:03 +02:00
Jan Chaloupka
6079053407
Update clientset generator to use RESTClient interface instead of the RESTClient data type
2016-10-21 10:13:51 +02:00
Maciej Szulik
7a34347f7f
Move ScheduledJob controller to use generated clientset
2016-09-14 11:27:29 +02:00
Clayton Coleman
8b71007601
ScheduledJob controller is too chatty
...
Sync information is printed far too often
2016-09-11 14:08:37 -04:00
Janet Kuo
6004be15b8
Fix the bug that SJ sees finished jobs as unexpected
2016-08-25 17:01:22 -07:00
Janet Kuo
2b87b46a6f
fixup
2016-08-24 17:45:35 -07:00
Maciej Szulik
d446930699
Remove pods along with jobs when Replace ConcurrentPolicy is set
2016-08-14 11:59:06 +02:00
Janet Kuo
e4269d490f
Use unversioned client in scheduledjobs and set group version to batch/v2alpha1
2016-08-12 16:46:09 -07:00
Girish Kalele
f64c052858
Revert "Scheduledjob e2e"
2016-08-12 16:12:19 -07:00
Kubernetes Submit Queue
ac1f8bc665
Merge pull request #26027 from soltysh/scheduledjob_e2e
...
Automatic merge from submit-queue
Scheduledjob e2e
@erictune last element of the scheduledjob puzzle. I think we'll iterate on this once we have all the puzzles in place. This is one of those things that will be allowed to merge after code freeze.
```release-note
* Introducing ScheduledJobs as described in [the proposal](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/scheduledjob.md ) as part of `batch/v2alpha1` version (experimental feature).
```
[]()
2016-08-12 13:27:32 -07:00
Janet Kuo
566667888d
Name jobs created by sj deterministically
2016-08-11 10:27:56 -07:00
Janet Kuo
fe53ec34cf
Use unversioned client in scheduledjobs and set group version to batch/v2alpha1
2016-08-11 13:06:18 +02:00
Janet Kuo
7eeba370e2
Fix incorrect logging format in sj controller
2016-08-09 17:46:35 -07:00
Janet Kuo
da57c93a8a
Fix errors, verification and test failures; add unit test for sj UpdateStatus
2016-08-05 13:35:39 -07:00
Eric Tune
8675e014fb
ScheduledJob controller
2016-08-05 13:34:50 -07:00