forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jobstatus.json
96 lines (96 loc) · 3.18 KB
/
jobstatus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"description": "JobStatus represents the current state of a Job.",
"properties": {
"active": {
"description": "The number of actively running pods.",
"type": "integer",
"format": "int32"
},
"completionTime": {
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"conditions": {
"description": "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/",
"type": [
"array",
"null"
],
"items": {
"description": "JobCondition describes current state of a job.",
"required": [
"type",
"status"
],
"properties": {
"lastProbeTime": {
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"lastTransitionTime": {
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"message": {
"description": "Human readable message indicating details about last transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "(brief) reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of job condition, Complete or Failed.",
"type": "string"
}
},
"additionalProperties": false
},
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"failed": {
"description": "The number of pods which reached phase Failed.",
"type": "integer",
"format": "int32"
},
"startTime": {
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"succeeded": {
"description": "The number of pods which reached phase Succeeded.",
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#",
"type": "object"
}