Skip to content

Commit

Permalink
Adds description to beginDownloadKicBaseImage()
Browse files Browse the repository at this point in the history
  • Loading branch information
x7upLime committed Dec 6, 2022
1 parent ed53a3c commit 02b6b58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/minikube/node/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ func doCacheBinaries(k8sVersion, containerRuntime, driverName, binariesURL strin
return machine.CacheBinariesForBootstrapper(k8sVersion, viper.GetString(cmdcfg.Bootstrapper), existingBinaries, binariesURL)
}

// beginDownloadKicBaseImage downloads the kic image
// beginDownloadKicBaseImage
// Its behaviour changes based on on ClusterConfig and flags..
// It downloads the tar archive of the specified kicbase image to the local minikube cache (if not already present)
// It updates the KicDriver's cache with the just downloaded image archive for offline usage
// It pulls the kicbase image to the KicDriver at the specified digest
func beginDownloadKicBaseImage(g *errgroup.Group, cc *config.ClusterConfig, downloadOnly bool) {

klog.Infof("Beginning downloading kic base image for %s with %s", cc.Driver, cc.KubernetesConfig.ContainerRuntime)
Expand Down

0 comments on commit 02b6b58

Please sign in to comment.