Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newCmdPlan (0.28 sec)

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

    	cmd := &cobra.Command{
    		Use:   "upgrade",
    		Short: "Upgrade your cluster smoothly to a newer version with this command",
    		Run:   cmdutil.SubCmdRun(),
    	}
    
    	cmd.AddCommand(newCmdApply(flags))
    	cmd.AddCommand(newCmdPlan(flags))
    	cmd.AddCommand(newCmdDiff(out))
    	cmd.AddCommand(newCmdNode(out))
    	return cmd
    }
    
    func addApplyPlanFlags(fs *pflag.FlagSet, flags *applyPlanFlags) {
    	options.AddKubeConfigFlag(fs, &flags.kubeConfigPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:18:29 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/plan.go

    	This command can only run on the control plane nodes where the kubeconfig file "admin.conf" exists.
    	To skip the internet check, pass in the optional [version] parameter.
    `)
    
    // newCmdPlan returns the cobra command for `kubeadm upgrade plan`
    func newCmdPlan(apf *applyPlanFlags) *cobra.Command {
    	flags := &planFlags{
    		applyPlanFlags: apf,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top