Merge pull request #131097 from ardaguclu/increase-cp-timeout

Increase kubectl cp command timeout to 30 seconds

Kubernetes-commit: 8237bc5035c7cdec4df561f56e9e68a4c26024f0
This commit is contained in:
Kubernetes Publisher 2025-04-23 15:59:42 -07:00
commit 3a0b77ee9b
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ func (o *CopyOptions) checkDestinationIsDir(dest fileSpec) error {
Executor: &exec.DefaultRemoteExecutor{},
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
done := make(chan error)