Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for IgnorePreflightErrors (0.35 sec)

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

    	flagSet.BoolVar(&nodeOptions.etcdUpgrade, options.EtcdUpgrade, nodeOptions.etcdUpgrade, "Perform the upgrade of etcd.")
    	flagSet.StringSliceVar(&nodeOptions.ignorePreflightErrors, options.IgnorePreflightErrors, nodeOptions.ignorePreflightErrors, "A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    	return workflow.Phase{
    		Name:  "preflight",
    		Short: "Run upgrade node pre-flight checks",
    		Long:  "Run pre-flight checks for kubeadm upgrade node.",
    		Run:   runPreflight,
    		InheritFlags: []string{
    			options.IgnorePreflightErrors,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(Data)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/preflight.go

    		Short:   "Run join pre-flight checks",
    		Long:    "Run pre-flight checks for kubeadm join.",
    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.IgnorePreflightErrors,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.ControlPlane,
    			options.APIServerAdvertiseAddress,
    			options.APIServerBindPort,
    			options.NodeCRISocket,
    			options.NodeName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common.go

    	if err != nil {
    		return nil, nil, nil, nil, err
    	}
    
    	// Also set the union of pre-flight errors to UpgradeConfiguration, to provide a consistent view of the runtime configuration.
    	// .Plan.IgnorePreflightErrors is not set as it's not used.
    	if upgradeApply {
    		upgradeCfg.Apply.IgnorePreflightErrors = sets.List(ignorePreflightErrorsSet)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    		}
    	}
    	if in.KubeletExtraArgs != nil {
    		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
    		*out = make([]Arg, len(*in))
    		copy(*out, *in)
    	}
    	if in.IgnorePreflightErrors != nil {
    		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.ImagePullSerial != nil {
    		in, out := &in.ImagePullSerial, &out.ImagePullSerial
    		*out = new(bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/options/generic.go

    }
    
    // AddIgnorePreflightErrorsFlag adds the --ignore-preflight-errors flag to the given flagset
    func AddIgnorePreflightErrorsFlag(fs *pflag.FlagSet, ignorePreflightErrors *[]string) {
    	fs.StringSliceVar(
    		ignorePreflightErrors, IgnorePreflightErrors, *ignorePreflightErrors,
    		"A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.",
    	)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	KubeletExtraArgs []Arg `json:"kubeletExtraArgs,omitempty"`
    
    	// IgnorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered, e.g. 'IsPrivilegedUser,Swap'.
    	// Value 'all' ignores errors from all checks.
    	// +optional
    	IgnorePreflightErrors []string `json:"ignorePreflightErrors,omitempty"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	out.CRISocket = in.CRISocket
    	out.Taints = *(*[]corev1.Taint)(unsafe.Pointer(&in.Taints))
    	out.KubeletExtraArgs = *(*[]kubeadm.Arg)(unsafe.Pointer(&in.KubeletExtraArgs))
    	out.IgnorePreflightErrors = *(*[]string)(unsafe.Pointer(&in.IgnorePreflightErrors))
    	out.ImagePullPolicy = corev1.PullPolicy(in.ImagePullPolicy)
    	out.ImagePullSerial = (*bool)(unsafe.Pointer(in.ImagePullSerial))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    		}
    	}
    	if in.KubeletExtraArgs != nil {
    		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
    		*out = make([]Arg, len(*in))
    		copy(*out, *in)
    	}
    	if in.IgnorePreflightErrors != nil {
    		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.ImagePullSerial != nil {
    		in, out := &in.ImagePullSerial, &out.ImagePullSerial
    		*out = new(bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top