review comments
parent
992b51cd4e
commit
095fd2a526
|
|
@ -68,7 +68,7 @@ func configureRuntimes(runner cruntime.CommandRunner, drvName string, k8s config
|
|||
}
|
||||
if !driver.IsKIC(drvName) {
|
||||
if err := cr.Preload(k8s.KubernetesVersion); err != nil {
|
||||
glog.Infof("Failed to preload container runtime %s: %v, falling back to caching images", cr.Name(), err)
|
||||
glog.Errorf("Failed to preload container runtime %s: %v, falling back to caching images", cr.Name(), err)
|
||||
if err := machine.CacheImagesForBootstrapper(k8s.ImageRepository, k8s.KubernetesVersion, viper.GetString(cmdcfg.Bootstrapper)); err != nil {
|
||||
exit.WithError("Failed to cache images", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ func Start(mc config.ClusterConfig, n config.Node, primary bool, existingAddons
|
|||
mRunner, preExists, machineAPI, host := startMachine(&mc, &n)
|
||||
defer machineAPI.Close()
|
||||
|
||||
// wait for preloaded tarball to finish downloading before configuring runtimes
|
||||
waitCacheRequiredImages(&cacheGroup)
|
||||
|
||||
// configure the runtime (docker, containerd, crio)
|
||||
|
|
|
|||
Loading…
Reference in New Issue