Merge pull request #79529 from andyzhangx/change-csi-timeout

fix: change default timeout value in csi plugin
This commit is contained in:
Kubernetes Prow Robot 2019-07-03 09:12:58 -07:00 committed by GitHub
commit a3be4b6817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ const (
// TODO (vladimirvivien) would be nice to name socket with a .sock extension // TODO (vladimirvivien) would be nice to name socket with a .sock extension
// for consistency. // for consistency.
csiAddrTemplate = "/var/lib/kubelet/plugins/%v/csi.sock" csiAddrTemplate = "/var/lib/kubelet/plugins/%v/csi.sock"
csiTimeout = 15 * time.Second csiTimeout = 2 * time.Minute
volNameSep = "^" volNameSep = "^"
volDataFileName = "vol_data.json" volDataFileName = "vol_data.json"
fsTypeBlockName = "block" fsTypeBlockName = "block"