• Eric Tune's avatar
    Support Work Queue jobs with variable parallelism · 53ee76fe
    Eric Tune authored
    When job.spec.completions is nil, only
    one task needs to succeed for the job to succeed,
    and parallelism can be scaled freely during runtime.
    
    Added tests.
    
    Release Note:
    
    This causes two minor changes to the API.
    
    First, unset parallelism previously was defaulted to be
    equal to completions.  Now it always defaults to 1 if unset.
    
    Second, having parallelism=N and completions unset would previously
    be defaulted to 1 completion and N parallelism.
    (this is not something we expect people to do, though)
    Now, no defaulting occurs in that case, and the job's
    behavior is different (any completion causes success).
    53ee76fe
Name
Last commit
Last update
..
daemon Loading commit data...
deployment Loading commit data...
endpoint Loading commit data...
framework Loading commit data...
gc Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
persistentvolume Loading commit data...
podautoscaler Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...