Michail Kargakis
dd84bba64c
Fix job status conditions bloat
...
When a job is complete, the controller will indefinitely update its conditions
with a Complete condition. This change makes the controller exit the
reconcilation as soon as the job is already found to be marked as complete.
2016-01-12 16:41:44 +01:00
Maciej Szulik
327c104460
Added ActiveDeadlineSeconds to jobs, allowing failing a job after
...
exceeding allowed time.
2015-12-17 15:26:42 +01:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
Eric Tune
a600ac0cca
Revert "An attempt to fix flake in TestControllerSyncJob (14500)"
2015-10-30 08:56:11 -07:00
Eric Tune
07fb3c2759
Fix jobs unittest flakes.
...
Sometimes the test would
generate two identical pod names
using the Now().UnixNano() function.
Apparently the Nanos are rounded.
Passed 2000 unittest runs.
2015-10-24 00:54:45 -07:00
Maciej Szulik
1ee20363e0
An attempt to fix flake in TestControllerSyncJob (14500)
2015-10-19 12:46:33 +02:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
Alex Robinson
9419bfb402
Merge pull request #14937 from krousey/flaky_job_controller
...
Removing custom test timeout
2015-10-05 10:34:34 -07:00
Kris
d0aa9dfbc7
Removing custom test timeout
2015-10-01 14:35:58 -07:00
deads2k
4cc63313e7
fix testclient prepend functions
2015-09-29 08:03:52 -04:00
Mike Danese
824768d604
consolidate a bunch of FakePodControl testclients into a shared one
2015-09-24 23:21:20 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Mike Danese
e29e606792
make JobController RestartPolicy independent
2015-09-18 11:48:47 -07:00
Mike Danese
22072af90d
rename jobmanager to jobcontroller
2015-09-18 11:48:47 -07:00