public class V1JobSpec extends Object
Constructor and Description |
---|
V1JobSpec() |
Modifier and Type | Method and Description |
---|---|
V1JobSpec |
activeDeadlineSeconds(Long activeDeadlineSeconds) |
V1JobSpec |
backoffLimit(Integer backoffLimit) |
V1JobSpec |
completions(Integer completions) |
boolean |
equals(Object o) |
Long |
getActiveDeadlineSeconds()
Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
|
Integer |
getBackoffLimit()
Specifies the number of retries before marking this job failed.
|
Integer |
getCompletions()
Specifies the desired number of successfully finished pods the job should be run with.
|
Integer |
getParallelism()
Specifies the maximum desired number of pods the job should run at any given time.
|
V1LabelSelector |
getSelector()
A label query over pods that should match the pod count.
|
V1PodTemplateSpec |
getTemplate()
Describes the pod that will be created when executing a job.
|
int |
hashCode() |
Boolean |
isManualSelector()
manualSelector controls generation of pod labels and pod selectors.
|
V1JobSpec |
manualSelector(Boolean manualSelector) |
V1JobSpec |
parallelism(Integer parallelism) |
V1JobSpec |
selector(V1LabelSelector selector) |
void |
setActiveDeadlineSeconds(Long activeDeadlineSeconds) |
void |
setBackoffLimit(Integer backoffLimit) |
void |
setCompletions(Integer completions) |
void |
setManualSelector(Boolean manualSelector) |
void |
setParallelism(Integer parallelism) |
void |
setSelector(V1LabelSelector selector) |
void |
setTemplate(V1PodTemplateSpec template) |
V1JobSpec |
template(V1PodTemplateSpec template) |
String |
toString() |
public Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
public Integer getBackoffLimit()
public void setBackoffLimit(Integer backoffLimit)
public Integer getCompletions()
public void setCompletions(Integer completions)
public Boolean isManualSelector()
public void setManualSelector(Boolean manualSelector)
public Integer getParallelism()
public void setParallelism(Integer parallelism)
public V1JobSpec selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V1JobSpec template(V1PodTemplateSpec template)
public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2018. All rights reserved.