Skip to content

Commit

Permalink
fix: Fixed workflow queue duration if PVC creation is forbidden (#3691)
Browse files Browse the repository at this point in the history
* fix: DAG level Output Artifacts on K8S and Kubelet executor

* fix: Fixed workflow queue duration if PVC creation is forbidden
  • Loading branch information
sarabala1979 authored Aug 6, 2020
1 parent 2baaf91 commit 9f00cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (woc *wfOperationCtx) operate() {
// Error was most likely caused by a lack of resources.
// In this case, Workflow will be in pending state and requeue.
woc.markWorkflowPhase(wfv1.NodePending, false, fmt.Sprintf("Waiting for a PVC to be created. %v", err))
woc.requeue(10)
woc.requeue(10 * time.Second)
return
}
msg := "pvc create error"
Expand Down

0 comments on commit 9f00cdc

Please sign in to comment.