Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RunPullImagesCheck (0.42 sec)

  1. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    		return err
    	}
    
    	// If this is a control-plane node, pull the basic images
    	if data.IsControlPlaneNode() {
    		// Update the InitConfiguration used for RunPullImagesCheck with ImagePullPolicy and ImagePullSerial
    		// that come from UpgradeNodeConfiguration.
    		initConfig := data.InitCfg()
    		initConfig.NodeRegistration.ImagePullPolicy = data.Cfg().Node.ImagePullPolicy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/preflight.go

    	fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'")
    	return preflight.RunPullImagesCheck(utilsexec.New(), data.Cfg(), data.IgnorePreflightErrors())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/preflight.go

    		fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'")
    		if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, j.IgnorePreflightErrors()); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // checkIfReadyForAdditionalControlPlane ensures that the cluster is in a state that supports
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/common.go

    	}
    
    	// Set the ImagePullPolicy and ImagePullSerial from the UpgradeApplyConfiguration to the InitConfiguration.
    	// These are used by preflight.RunPullImagesCheck() when running 'apply'.
    	if upgradeApply {
    		initCfg.NodeRegistration.ImagePullPolicy = upgradeCfg.Apply.ImagePullPolicy
    		initCfg.NodeRegistration.ImagePullSerial = upgradeCfg.Apply.ImagePullSerial
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/apply.go

    		fmt.Println("[upgrade/prepull] You can also perform this action beforehand using 'kubeadm config images pull'")
    		if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, sets.New(upgradeCfg.Apply.IgnorePreflightErrors...)); err != nil {
    			return err
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/preflight/checks.go

    	checks := []Checker{
    		IsPrivilegedUserCheck{},
    	}
    
    	return RunChecks(checks, os.Stderr, ignorePreflightErrors)
    }
    
    // RunPullImagesCheck will pull images kubeadm needs if they are not found on the system
    func RunPullImagesCheck(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.Set[string]) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top