Skip to content

Commit 0449cef

Browse files
committed
Increase timeout for DRA kubelet plugin client
The 10 second timeout was too low. Given that the retry loop for the kubelet itself is 90s, increasing the timeout to half of this seems reasonable. Ideally we would pull in the variable that sets the retry timeout to 90s and then just set our local timeout to half of that. Unfortunately, this is not exported, so we settle (for now with just explicitly setting it to 45s. Signed-off-by: Kevin Klues <[email protected]>
1 parent 31d662e commit 0449cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/cm/dra/plugin/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
drapb "k8s.io/kubelet/pkg/apis/dra/v1alpha3"
3535
)
3636

37-
const PluginClientTimeout = 10 * time.Second
37+
const PluginClientTimeout = 45 * time.Second
3838

3939
// Strongly typed address.
4040
type draAddr string

0 commit comments

Comments
 (0)