feat: add maxRetry option
ref: https://github.com/volcano-sh/volcano/pull/3846
It doesn't look good. How about just adding a maxRetry field?
type Flow struct {
// +kubebuilder:validation:MinLength=1
// +required
Name string `json:"name"`
// +optional
DependsOn *DependsOn `json:"dependsOn,omitempty"`
// +optional
MaxRetry *MaxRetry `json:"maxRetry,omitempty"`
}
It doesn't look good. How about just adding a maxRetry field?
Thanks @hwdef @googs1025
Got it. Just add maxRetry field done.
@googs1025 Please re-check it
feel free to go ahead. small suggestion: I like to fully express the meaning of this field on the field, just like the API docs maintained in k/k, which make it easier for users to understand the meaning of each field.
@hwdef @Monokaix @JesseStutler /PTAL
/lgtm
cc @googs1025 @Monokaix Please re-check it
@Monokaix Please review it. Thanks Similar to this PR, when a CRD field changes, how to depend on it in volcano and submit a volcano PR?
feel free to go ahead. small suggestion: I like to fully express the meaning of this field on the field, just like the API docs maintained in k/k, which make it easier for users to understand the meaning of each field.
Yeah I agree, comments should be added, and will this value be passed to the maxretry of vcjob?
feel free to go ahead. small suggestion: I like to fully express the meaning of this field on the field, just like the API docs maintained in k/k, which make it easier for users to understand the meaning of each field.
Yeah I agree, comments should be added, and will this value be passed to the maxretry of vcjob?
Yeah. Pass this value to the maxretry of vcjob, replace the default value in jobTemplate
New changes are detected. LGTM label has been removed.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign wpeng102
You can assign the PR to them by writing /assign @wpeng102 in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment