Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PerformPostUpgradeTasks (0.32 sec)

  1. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	dryrunutil "k8s.io/kubernetes/cmd/kubeadm/app/util/dryrun"
    )
    
    // PerformPostUpgradeTasks runs nearly the same functions as 'kubeadm init' would do
    // Note that the mark-control-plane phase is left out, not needed, and no token is created as that doesn't belong to the upgrade
    func PerformPostUpgradeTasks(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, patchesDir string, dryRun bool, out io.Writer) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/apply.go

    		return errors.Wrap(err, "[upgrade/apply] FATAL")
    	}
    
    	// Upgrade RBAC rules and addons.
    	klog.V(1).Infoln("[upgrade/postupgrade] upgrading RBAC rules and addons")
    	if err := upgrade.PerformPostUpgradeTasks(client, initCfg, upgradeCfg.Apply.Patches.Directory, flags.dryRun, flags.applyPlanFlags.out); err != nil {
    		return errors.Wrap(err, "[upgrade/postupgrade] FATAL post-upgrade error")
    	}
    
    	if flags.dryRun {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top