@@ -55,13 +55,24 @@ spec:
55
55
format : int32
56
56
type : integer
57
57
completionstatus :
58
- description : Optional field for users to determine completion
59
- status of item
58
+ description : ' Optional field that drives completion status
59
+ of this AppWrapper. This field within an item of an AppWrapper
60
+ determines the full state of the AppWrapper. The completionstatus
61
+ field contains a list of conditions that make the associate
62
+ item considered completed, for instance: - completion
63
+ conditions could be "Complete" or "Failed". The associated
64
+ item'' s level .status.conditions[].type field is monitored
65
+ for any one of these conditions. Once all items with this
66
+ option is set and the conditionstatus is met the entire
67
+ AppWrapper state will be changed to one of the valid AppWrapper
68
+ completion state. Note: - this is an AND operation for
69
+ all items where this option is set. See the list of AppWrapper
70
+ states for a list of valid complete states.'
60
71
type : string
61
72
custompodresources :
62
73
description : Optional section that specifies resource requirements
63
74
for non-standard k8s resources, follows same format as
64
- that of standard k8s resources
75
+ that of standard k8s resources.
65
76
items :
66
77
properties :
67
78
limits :
@@ -105,8 +116,8 @@ spec:
105
116
type : integer
106
117
priority :
107
118
description : The priority of this resource
108
- format : float
109
- type : number
119
+ format : int32
120
+ type : integer
110
121
priorityslope :
111
122
description : The increasing rate of priority value for this
112
123
resource
@@ -181,7 +192,9 @@ spec:
181
192
- metadata
182
193
type : object
183
194
schedulingSpec :
184
- description : SchedSpec specifies the parameters for scheduling.
195
+ description : SchedSpec specifies the parameters used for scheduling
196
+ generic items wrapped inside AppWrappers. It defines the policy
197
+ for requeuing jobs based on the number of running pods.
185
198
properties :
186
199
clusterScheduling :
187
200
properties :
@@ -245,6 +258,7 @@ spec:
245
258
type : array
246
259
type : object
247
260
dispatchDuration :
261
+ description : Wall clock duration time of appwrapper in seconds.
248
262
properties :
249
263
expected :
250
264
type : integer
@@ -281,24 +295,57 @@ spec:
281
295
type : object
282
296
type : object
283
297
minAvailable :
298
+ description : Expected number of pods in running and/or completed
299
+ state. Requeuing is triggered when the number of running/completed
300
+ pods is not equal to this value. When not specified, requeuing
301
+ is disabled and no check is performed.
284
302
type : integer
285
303
nodeSelector :
286
304
additionalProperties :
287
305
type : string
288
306
type : object
289
307
requeuing :
308
+ description : Specification of the requeuing strategy based on
309
+ waiting time. Values in this field control how often the pod
310
+ check should happen, and if requeuing has reached its maximum
311
+ number of times.
290
312
properties :
291
313
growthType :
314
+ default : exponential
315
+ description : Growth strategy to increase the waiting time
316
+ between requeuing checks. The values available are 'exponential',
317
+ ' linear' , or 'none'. For example, 'exponential' growth would
318
+ double the 'timeInSeconds' value every time a requeuing
319
+ event is triggered. If the string value is misspelled or
320
+ not one of the possible options, the growth behavior is
321
+ defaulted to 'none'.
292
322
type : string
293
323
initialTimeInSeconds :
324
+ description : Value to keep track of the initial wait time.
325
+ Users cannot set this as it is taken from 'timeInSeconds'.
294
326
type : integer
295
327
maxNumRequeuings :
328
+ default : 0
329
+ description : Maximum number of requeuing events allowed. Once
330
+ this value is reached (e.g., 'numRequeuings = maxNumRequeuings',
331
+ no more requeuing checks are performed and the generic items
332
+ are stopped and removed from the cluster (AppWrapper remains
333
+ deployed).
296
334
type : integer
297
335
maxTimeInSeconds :
336
+ default : 0
337
+ description : Maximum waiting time for requeuing checks.
298
338
type : integer
299
339
numRequeuings :
340
+ default : 0
341
+ description : Field to keep track of how many times a requeuing
342
+ event has been triggered.
300
343
type : integer
301
344
timeInSeconds :
345
+ default : 300
346
+ description : Initial waiting time before requeuing conditions
347
+ are checked. This value is specified by the user, but it
348
+ may grow as requeuing events happen.
302
349
type : integer
303
350
type : object
304
351
type : object
@@ -686,10 +733,10 @@ spec:
686
733
description : Can run?
687
734
type : boolean
688
735
conditions :
689
- description : Represents the latest available observations of a appwrapper 's
736
+ description : Represents the latest available observations of the AppWrapper 's
690
737
current condition.
691
738
items :
692
- description : DeploymentCondition describes the state of a deployment
739
+ description : AppWrapperCondition describes the state of an AppWrapper
693
740
at a certain point.
694
741
properties :
695
742
lastTransitionMicroTime :
@@ -702,7 +749,7 @@ spec:
702
749
format : date-time
703
750
type : string
704
751
message :
705
- description : A human readable message indicating details about
752
+ description : A human- readable message indicating details about
706
753
the transition.
707
754
type : string
708
755
reason :
@@ -712,7 +759,7 @@ spec:
712
759
description : Status of the condition, one of True, False, Unknown.
713
760
type : string
714
761
type :
715
- description : Type of appwrapper condition.
762
+ description : Type of AppWrapper condition.
716
763
type : string
717
764
required :
718
765
- status
@@ -721,7 +768,7 @@ spec:
721
768
type : array
722
769
controllerfirstdispatchtimestamp :
723
770
description : Microsecond level timestamp when controller first dispatches
724
- appwrapper
771
+ the AppWrapper
725
772
format : date-time
726
773
type : string
727
774
controllerfirsttimestamp :
@@ -756,7 +803,7 @@ spec:
756
803
type : integer
757
804
pendingpodconditions :
758
805
description : Represents the latest available observations of pods
759
- under appwrapper
806
+ belonging to the AppWrapper.
760
807
items :
761
808
properties :
762
809
conditions :
@@ -826,20 +873,18 @@ spec:
826
873
format : int32
827
874
type : integer
828
875
totalcpu :
829
- description : Represents the number of cpu consumed by all pods belonging
830
- to an appwrapper .
876
+ description : The number of CPU consumed by all pods belonging to the
877
+ AppWrapper .
831
878
type : number
832
879
totalgpu :
833
- description : Represents the total number of GPUs consumed by all pods
834
- belonging to an appwrapper .
880
+ description : The total number of GPUs consumed by all pods belonging
881
+ to the AppWrapper .
835
882
format : int64
836
883
type : integer
837
884
totalmemory :
838
- description : Represents the amount of memory consumed by all pods
839
- belonging to an appwrapper .
885
+ description : The amount of memory consumed by all pods belonging to
886
+ the AppWrapper .
840
887
type : number
841
- required :
842
- - pendingpodconditions
843
888
type : object
844
889
required :
845
890
- spec
0 commit comments