@@ -54,13 +54,24 @@ spec:
54
54
format : int32
55
55
type : integer
56
56
completionstatus :
57
- description : Optional field for users to determine completion
58
- status of item
57
+ description : ' Optional field that drives completion status
58
+ of this AppWrapper. This field within an item of an AppWrapper
59
+ determines the full state of the AppWrapper. The completionstatus
60
+ field contains a list of conditions that make the associate
61
+ item considered completed, for instance: - completion
62
+ conditions could be "Complete" or "Failed". The associated
63
+ item'' s level .status.conditions[].type field is monitored
64
+ for any one of these conditions. Once all items with this
65
+ option is set and the conditionstatus is met the entire
66
+ AppWrapper state will be changed to one of the valid AppWrapper
67
+ completion state. Note: - this is an AND operation for
68
+ all items where this option is set. See the list of AppWrapper
69
+ states for a list of valid complete states.'
59
70
type : string
60
71
custompodresources :
61
72
description : Optional section that specifies resource requirements
62
73
for non-standard k8s resources, follows same format as
63
- that of standard k8s resources
74
+ that of standard k8s resources.
64
75
items :
65
76
properties :
66
77
limits :
@@ -104,8 +115,8 @@ spec:
104
115
type : integer
105
116
priority :
106
117
description : The priority of this resource
107
- format : float
108
- type : number
118
+ format : int32
119
+ type : integer
109
120
priorityslope :
110
121
description : The increasing rate of priority value for this
111
122
resource
@@ -133,8 +144,9 @@ spec:
133
144
format : int32
134
145
type : integer
135
146
priority :
136
- format : float
137
- type : number
147
+ description : The priority of this resource
148
+ format : int32
149
+ type : integer
138
150
priorityslope :
139
151
description : The increasing rate of priority value for this
140
152
resource
@@ -155,7 +167,6 @@ spec:
155
167
Pod, a ReplicaSet, a ... ?)
156
168
type : string
157
169
required :
158
- - priorityslope
159
170
- template
160
171
type : object
161
172
type : array
@@ -222,7 +233,9 @@ spec:
222
233
- metadata
223
234
type : object
224
235
schedulingSpec :
225
- description : SchedSpec specifies the parameters for scheduling.
236
+ description : SchedSpec specifies the parameters used for scheduling
237
+ generic items wrapped inside AppWrappers. It defines the policy
238
+ for requeuing jobs based on the number of running pods.
226
239
properties :
227
240
clusterScheduling :
228
241
properties :
@@ -286,6 +299,7 @@ spec:
286
299
type : array
287
300
type : object
288
301
dispatchDuration :
302
+ description : Wall clock duration time of appwrapper in seconds.
289
303
properties :
290
304
expected :
291
305
type : integer
@@ -322,24 +336,57 @@ spec:
322
336
type : object
323
337
type : object
324
338
minAvailable :
339
+ description : Expected number of pods in running and/or completed
340
+ state. Requeuing is triggered when the number of running/completed
341
+ pods is not equal to this value. When not specified, requeuing
342
+ is disabled and no check is performed.
325
343
type : integer
326
344
nodeSelector :
327
345
additionalProperties :
328
346
type : string
329
347
type : object
330
348
requeuing :
349
+ description : Specification of the requeuing strategy based on
350
+ waiting time. Values in this field control how often the pod
351
+ check should happen, and if requeuing has reached its maximum
352
+ number of times.
331
353
properties :
332
354
growthType :
355
+ default : exponential
356
+ description : Growth strategy to increase the waiting time
357
+ between requeuing checks. The values available are 'exponential',
358
+ ' linear' , or 'none'. For example, 'exponential' growth would
359
+ double the 'timeInSeconds' value every time a requeuing
360
+ event is triggered. If the string value is misspelled or
361
+ not one of the possible options, the growth behavior is
362
+ defaulted to 'none'.
333
363
type : string
334
364
initialTimeInSeconds :
365
+ description : Value to keep track of the initial wait time.
366
+ Users cannot set this as it is taken from 'timeInSeconds'.
335
367
type : integer
336
368
maxNumRequeuings :
369
+ default : 0
370
+ description : Maximum number of requeuing events allowed. Once
371
+ this value is reached (e.g., 'numRequeuings = maxNumRequeuings',
372
+ no more requeuing checks are performed and the generic items
373
+ are stopped and removed from the cluster (AppWrapper remains
374
+ deployed).
337
375
type : integer
338
376
maxTimeInSeconds :
377
+ default : 0
378
+ description : Maximum waiting time for requeuing checks.
339
379
type : integer
340
380
numRequeuings :
381
+ default : 0
382
+ description : Field to keep track of how many times a requeuing
383
+ event has been triggered.
341
384
type : integer
342
385
timeInSeconds :
386
+ default : 300
387
+ description : Initial waiting time before requeuing conditions
388
+ are checked. This value is specified by the user, but it
389
+ may grow as requeuing events happen.
343
390
type : integer
344
391
type : object
345
392
type : object
@@ -727,10 +774,10 @@ spec:
727
774
description : Can run?
728
775
type : boolean
729
776
conditions :
730
- description : Represents the latest available observations of a appwrapper 's
777
+ description : Represents the latest available observations of the AppWrapper 's
731
778
current condition.
732
779
items :
733
- description : DeploymentCondition describes the state of a deployment
780
+ description : AppWrapperCondition describes the state of an AppWrapper
734
781
at a certain point.
735
782
properties :
736
783
lastTransitionMicroTime :
@@ -743,7 +790,7 @@ spec:
743
790
format : date-time
744
791
type : string
745
792
message :
746
- description : A human readable message indicating details about
793
+ description : A human- readable message indicating details about
747
794
the transition.
748
795
type : string
749
796
reason :
@@ -762,7 +809,7 @@ spec:
762
809
type : array
763
810
controllerfirstdispatchtimestamp :
764
811
description : Microsecond level timestamp when controller first sets
765
- appwrapper in state Running
812
+ the AppWrapper in state Running
766
813
format : date-time
767
814
type : string
768
815
controllerfirsttimestamp :
@@ -787,25 +834,13 @@ spec:
787
834
type : boolean
788
835
message :
789
836
type : string
790
- totalcpu :
791
- description : The number of cpu consumed by all pods belonging to an appwrapper.
792
- format : int32
793
- type : integer
794
- totalmemory :
795
- description : The amount of memory consumed by all pods belonging to an appwrapper.
796
- format : int32
797
- type : integer
798
- totalgpu :
799
- description : The total number of GPUs consumed by all pods belonging to an appwrapper.
800
- format : int32
801
- type : integer
802
837
pending :
803
838
description : The number of pending pods.
804
839
format : int32
805
840
type : integer
806
841
pendingpodconditions :
807
842
description : Represents the latest available observations of pods
808
- under appwrapper
843
+ belonging to the AppWrapper.
809
844
items :
810
845
properties :
811
846
conditions :
@@ -870,8 +905,21 @@ spec:
870
905
(is this different from the MinAvailable from JobStatus)
871
906
format : int32
872
907
type : integer
873
- required :
874
- - pendingpodconditions
908
+ totalcpu :
909
+ description : The number of CPU consumed by all pods belonging to the
910
+ AppWrapper.
911
+ format : int32
912
+ type : integer
913
+ totalgpu :
914
+ description : The total number of GPUs consumed by all pods belonging
915
+ to the AppWrapper.
916
+ format : int64
917
+ type : integer
918
+ totalmemory :
919
+ description : The amount of memory consumed by all pods belonging to
920
+ the AppWrapper.
921
+ format : int32
922
+ type : integer
875
923
type : object
876
924
required :
877
925
- spec
0 commit comments