code: func GetPathManagerForUpgrade(internalcfg *kubeadmapi.InitConfiguration, etcdUpgrade bool) (upgrade.StaticPodPathManager, error) {
  	isHAEtcd := etcdutil.CheckConfigurationIsHA(&internalcfg.Etcd)
  	return upgrade.NewKubeStaticPodPathManagerUsingTempDirs(constants.GetStaticPodDirectory(), true, etcdUpgrade && !isHAEtcd)
  }
docs: // GetPathManagerForUpgrade returns a path manager properly configured for the given InitConfiguration.