-
Story
-
Resolution: Done
-
Blocker
-
None
-
False
-
False
-
PSAP Sprint 211
Prior to 1.22, client-go did not retry any Watch or Stream request if the server sent a 'Retry-After' response. Starting with 1.22, client-go will automatically retry Watch or Stream.
If you update client-go to 1.22, your operator/controller will automatically retry Watch and Stream, no need to make any code changes to opt in for this feature.
Please note that with the default configuration, client-go will retry a request up to 10 times, bound by the 'context' attached to the request.
NFD Operator - https://github.com/openshift/cluster-nfd-operator/blob/master/go.mod#L10
NFD Operand - https://github.com/openshift/node-feature-discovery/blob/master/go.mod#L22