-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d6658d
commit 1c223e7
Showing
15 changed files
with
1,059 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"apiVersion": "batch/v1", | ||
"kind": "Job", | ||
"metadata": { | ||
"annotations": { | ||
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"metadata\":{\"labels\":{\"app.kubernetes.io/managed-by\":\"pulumi\"},\"name\":\"foo\"},\"spec\":{\"backoffLimit\":1,\"template\":{\"spec\":{\"activeDeadlineSeconds\":10,\"containers\":[{\"command\":[\"perl\",\"-Mbignum=bpi\",\"-wle\",\"print bpi(2000)\"],\"image\":\"perl-fail\",\"name\":\"pi\"}],\"restartPolicy\":\"Never\"}}}}\n" | ||
}, | ||
"creationTimestamp": "2019-09-04T18:19:35Z", | ||
"labels": { | ||
"app.kubernetes.io/managed-by": "pulumi" | ||
}, | ||
"name": "foo", | ||
"namespace": "default", | ||
"resourceVersion": "1127282", | ||
"selfLink": "/apis/batch/v1/namespaces/default/jobs/foo", | ||
"uid": "8c668c31-cf40-11e9-8c3a-025000000001" | ||
}, | ||
"spec": { | ||
"backoffLimit": 1, | ||
"completions": 1, | ||
"parallelism": 1, | ||
"selector": { | ||
"matchLabels": { | ||
"controller-uid": "8c668c31-cf40-11e9-8c3a-025000000001" | ||
} | ||
}, | ||
"template": { | ||
"metadata": { | ||
"creationTimestamp": null, | ||
"labels": { | ||
"controller-uid": "8c668c31-cf40-11e9-8c3a-025000000001", | ||
"job-name": "foo" | ||
} | ||
}, | ||
"spec": { | ||
"activeDeadlineSeconds": 10, | ||
"containers": [ | ||
{ | ||
"command": [ | ||
"perl", | ||
"-Mbignum=bpi", | ||
"-wle", | ||
"print bpi(2000)" | ||
], | ||
"image": "perl-fail", | ||
"imagePullPolicy": "Always", | ||
"name": "pi", | ||
"resources": {}, | ||
"terminationMessagePath": "/dev/termination-log", | ||
"terminationMessagePolicy": "File" | ||
} | ||
], | ||
"dnsPolicy": "ClusterFirst", | ||
"restartPolicy": "Never", | ||
"schedulerName": "default-scheduler", | ||
"securityContext": {}, | ||
"terminationGracePeriodSeconds": 30 | ||
} | ||
} | ||
}, | ||
"status": { | ||
"conditions": [ | ||
{ | ||
"lastProbeTime": "2019-09-04T18:19:55Z", | ||
"lastTransitionTime": "2019-09-04T18:19:55Z", | ||
"message": "Job has reached the specified backoff limit", | ||
"reason": "BackoffLimitExceeded", | ||
"status": "True", | ||
"type": "Failed" | ||
} | ||
], | ||
"failed": 2, | ||
"startTime": "2019-09-04T18:19:35Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"apiVersion": "batch/v1", | ||
"kind": "Job", | ||
"metadata": { | ||
"annotations": { | ||
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"metadata\":{\"labels\":{\"app.kubernetes.io/managed-by\":\"pulumi\"},\"name\":\"foo\"},\"spec\":{\"activeDeadlineSeconds\":1,\"backoffLimit\":1,\"completions\":1,\"parallelism\":1,\"template\":{\"spec\":{\"containers\":[{\"command\":[\"perl\",\"-Mbignum=bpi\",\"-wle\",\"print bpi(2000)\"],\"image\":\"perl\",\"name\":\"pi\"}],\"restartPolicy\":\"Never\"}}}}\n" | ||
}, | ||
"creationTimestamp": "2019-09-09T21:53:56Z", | ||
"labels": { | ||
"app.kubernetes.io/managed-by": "pulumi" | ||
}, | ||
"name": "foo", | ||
"namespace": "default", | ||
"resourceVersion": "1336251", | ||
"selfLink": "/apis/batch/v1/namespaces/default/jobs/foo", | ||
"uid": "525855e6-d34c-11e9-9aec-025000000001" | ||
}, | ||
"spec": { | ||
"activeDeadlineSeconds": 1, | ||
"backoffLimit": 1, | ||
"completions": 1, | ||
"parallelism": 1, | ||
"selector": { | ||
"matchLabels": { | ||
"controller-uid": "525855e6-d34c-11e9-9aec-025000000001" | ||
} | ||
}, | ||
"template": { | ||
"metadata": { | ||
"creationTimestamp": null, | ||
"labels": { | ||
"controller-uid": "525855e6-d34c-11e9-9aec-025000000001", | ||
"job-name": "foo" | ||
} | ||
}, | ||
"spec": { | ||
"containers": [ | ||
{ | ||
"command": [ | ||
"perl", | ||
"-Mbignum=bpi", | ||
"-wle", | ||
"print bpi(2000)" | ||
], | ||
"image": "perl", | ||
"imagePullPolicy": "Always", | ||
"name": "pi", | ||
"resources": {}, | ||
"terminationMessagePath": "/dev/termination-log", | ||
"terminationMessagePolicy": "File" | ||
} | ||
], | ||
"dnsPolicy": "ClusterFirst", | ||
"restartPolicy": "Never", | ||
"schedulerName": "default-scheduler", | ||
"securityContext": {}, | ||
"terminationGracePeriodSeconds": 30 | ||
} | ||
} | ||
}, | ||
"status": { | ||
"conditions": [ | ||
{ | ||
"lastProbeTime": "2019-09-09T21:53:57Z", | ||
"lastTransitionTime": "2019-09-09T21:53:57Z", | ||
"message": "Job was active longer than specified deadline", | ||
"reason": "DeadlineExceeded", | ||
"status": "True", | ||
"type": "Failed" | ||
} | ||
], | ||
"failed": 1, | ||
"startTime": "2019-09-09T21:53:56Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"apiVersion": "batch/v1", | ||
"kind": "Job", | ||
"metadata": { | ||
"annotations": { | ||
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"metadata\":{\"labels\":{\"app.kubernetes.io/managed-by\":\"pulumi\"},\"name\":\"foo\"},\"spec\":{\"backoffLimit\":4,\"template\":{\"spec\":{\"containers\":[{\"command\":[\"perl\",\"-Mbignum=bpi\",\"-wle\",\"print bpi(2000)\"],\"image\":\"perl\",\"name\":\"pi\"}],\"restartPolicy\":\"Never\"}}}}\n" | ||
}, | ||
"creationTimestamp": "2019-07-11T19:30:43Z", | ||
"labels": { | ||
"app.kubernetes.io/managed-by": "pulumi" | ||
}, | ||
"name": "foo", | ||
"namespace": "default", | ||
"resourceVersion": "764704", | ||
"selfLink": "/apis/batch/v1/namespaces/default/jobs/foo", | ||
"uid": "6000eff6-a412-11e9-a3c5-025000000001" | ||
}, | ||
"spec": { | ||
"backoffLimit": 4, | ||
"completions": 1, | ||
"parallelism": 1, | ||
"selector": { | ||
"matchLabels": { | ||
"controller-uid": "6000eff6-a412-11e9-a3c5-025000000001" | ||
} | ||
}, | ||
"template": { | ||
"metadata": { | ||
"creationTimestamp": null, | ||
"labels": { | ||
"controller-uid": "6000eff6-a412-11e9-a3c5-025000000001", | ||
"job-name": "foo" | ||
} | ||
}, | ||
"spec": { | ||
"containers": [ | ||
{ | ||
"command": [ | ||
"perl", | ||
"-Mbignum=bpi", | ||
"-wle", | ||
"print bpi(2000)" | ||
], | ||
"image": "perl", | ||
"imagePullPolicy": "Always", | ||
"name": "pi", | ||
"resources": {}, | ||
"terminationMessagePath": "/dev/termination-log", | ||
"terminationMessagePolicy": "File" | ||
} | ||
], | ||
"dnsPolicy": "ClusterFirst", | ||
"restartPolicy": "Never", | ||
"schedulerName": "default-scheduler", | ||
"securityContext": {}, | ||
"terminationGracePeriodSeconds": 30 | ||
} | ||
} | ||
}, | ||
"status": { | ||
"completionTime": "2019-07-11T19:30:56Z", | ||
"conditions": [ | ||
{ | ||
"lastProbeTime": "2019-07-11T19:30:56Z", | ||
"lastTransitionTime": "2019-07-11T19:30:56Z", | ||
"status": "True", | ||
"type": "Complete" | ||
} | ||
], | ||
"startTime": "2019-07-11T19:30:43Z", | ||
"succeeded": 1 | ||
} | ||
} |
Oops, something went wrong.