[
https://issues.apache.org/jira/browse/YUNIKORN-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955704#comment-17955704
]
Paul Santa Clara commented on YUNIKORN-2804:
--------------------------------------------
As as of right now, it looks like the k8s go-client will never attempt to retry
non-GETs, or 500's or StatusTooManyRequests:
[https://github.com/kubernetes/client-go/blob/master/rest/request.go#L1236]
[https://github.com/kubernetes/client-go/blob/master/rest/with_retry.go#L175]
https://github.com/kubernetes/client-go/blob/master/rest/with_retry.go#L312C17-L312C38
> [Umbrella] Rethink general retry policy for post allocation failed task
> -----------------------------------------------------------------------
>
> Key: YUNIKORN-2804
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2804
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler, scheduler-interface, shim - kubernetes
> Reporter: Qi Zhu
> Assignee: Qi Zhu
> Priority: Major
>
> We are adding retry for bind volume failed in:
> [https://github.com/apache/yunikorn-k8shim/pull/890]
> *Updated, we closed the above PR after discussion.*
> We need to do the following-up instead of doing the retry above.
> As discussed here, we want to have general retry policy for future
> improvement.
> [https://github.com/apache/yunikorn-k8shim/pull/890#issuecomment-2288658926]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]