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 and alexec committed Aug 6, 2020
1 parent 03b8416 commit 0b7cd5b
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 @@ -292,7 +292,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 0b7cd5b

Please sign in to comment.