How to set the timeout for the Cache HttpClient in order to increase the value to more than 60 seconds #766
Unanswered
d4rkhunt33r
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
i was wondering, if anyone can help pointing me to the right direction about in what part of the code is been defined the timeout that shows when a List takes more than 60 seconds
Here is the error that is showed in the logs
0418 19:38:12.033594 1 controller/controller.go:194] "Starting controller" controller="resource-change-controller" I0418 19:38:12.033615 1 controller/controller.go:194] "Starting controller" controller="cluster-resource-placement-controller-v1beta1" I0418 19:38:12.042898 1 informer/informermanager.go:152] "Disabled an informer for a disappeared resource" res={"GroupVersionKind":{"Group":"","Version":"v1","Kind":"Event"},"GroupVersionResource":{"Group":"","Version":"v1","Resource":"events"},"IsClusterScoped":false} W0418 19:38:52.819170 1 cache/reflector.go:535] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:229: failed to list *v1beta1.ClusterResourceSnapshot: the server was unable to return a response in the time allotted, but may still be processing the request (get clusterresourcesnapshots.placement.kubernetes-fleet.io) I0418 19:38:52.819265 1 trace/trace.go:236] Trace[24452122]: "Reflector ListAndWatch" name:pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:229 (18-Apr-2024 19:37:52.755) (total time: 60063ms): Trace[24452122]: ---"Objects listed" error:the server was unable to return a response in the time allotted, but may still be processing the request (get clusterresourcesnapshots.placement.kubernetes-fleet.io) 60063ms (19:38:52.819) Trace[24452122]: [1m0.063997948s] [1m0.063997948s] ENDAs you can see, is showing that after (total time: 60063ms) is timing out and I am not able to figure out how to change that value or where is the value set in the code
Beta Was this translation helpful? Give feedback.
All reactions