Merge pull request #17940 from soltysh/job_deadline

Added ActiveDeadlineSeconds to jobs
This commit is contained in:
Eric Tune
2015-12-17 13:11:13 -08:00
21 changed files with 16070 additions and 14806 deletions

View File

@@ -3223,6 +3223,11 @@
"format": "int32",
"description": "Completions specifies the desired number of successfully finished pods the job should be run with. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md"
},
"activeDeadlineSeconds": {
"type": "integer",
"format": "int64",
"description": "Optional 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"
},
"selector": {
"$ref": "v1beta1.LabelSelector",
"description": "Selector is a label query over pods that should match the pod count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors"