wait for images to download before configuring runtimes

pull/6928/head
Priya Wadhwa 2020-03-06 17:33:13 -08:00
parent 09e2fcad69
commit 84bc0d440b
1 changed files with 1 additions and 1 deletions

View File

@ -55,6 +55,7 @@ func Start(mc config.ClusterConfig, n config.Node, primary bool, existingAddons
// exits here in case of --download-only option.
handleDownloadOnly(&cacheGroup, &kicGroup, k8sVersion)
waitDownloadKicArtifacts(&kicGroup)
waitCacheRequiredImages(&cacheGroup)
mRunner, preExists, machineAPI, host := startMachine(&mc, &n)
defer machineAPI.Close()
@ -62,7 +63,6 @@ func Start(mc config.ClusterConfig, n config.Node, primary bool, existingAddons
// configure the runtime (docker, containerd, crio)
cr := configureRuntimes(mRunner, driverName, mc.KubernetesConfig)
showVersionInfo(k8sVersion, cr)
waitCacheRequiredImages(&cacheGroup)
//TODO(sharifelgamal): Part out the cluster-wide operations, perhaps using the "primary" param