increase kubectl command timeout
parent
6d9a5bfaa1
commit
1fad41a69d
|
@ -439,7 +439,7 @@ func enableOrDisableAddonInternal(cc *config.ClusterConfig, addon *assets.Addon,
|
|||
|
||||
// Retry, because sometimes we race against an apiserver restart
|
||||
apply := func() error {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
||||
defer cancel()
|
||||
_, err := runner.RunCmd(kubectlCommand(ctx, cc, deployFiles, enable, force))
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue