Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for IgnorePreflightErrors (0.38 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/init_test.go

    	expected := sets.New(expectedItems...)
    	return func(t *testing.T, data *initData) {
    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/reset.go

    	ignorePreflightErrorsSet, err := validation.ValidateIgnorePreflightErrors(opts.ignorePreflightErrors, resetCfg.IgnorePreflightErrors)
    	if err != nil {
    		return nil, err
    	}
    	if initCfg != nil {
    		// Also set the union of pre-flight errors to InitConfiguration, to provide a consistent view of the runtime configuration:
    		initCfg.NodeRegistration.IgnorePreflightErrors = sets.List(ignorePreflightErrorsSet)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/join_test.go

    	return func(t *testing.T, data *joinData) {
    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/init.go

    }
    
    // SkipTokenPrint returns the SkipTokenPrint flag.
    func (d *initData) SkipTokenPrint() bool {
    	return d.skipTokenPrint
    }
    
    // IgnorePreflightErrors returns the IgnorePreflightErrors flag.
    func (d *initData) IgnorePreflightErrors() sets.Set[string] {
    	return d.ignorePreflightErrors
    }
    
    // CertificateWriteDir returns the path to the certificate folder or the temporary folder path in case of DryRun.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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.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)
  10. cmd/kubeadm/app/preflight/checks.go

    func RunInitNodeChecks(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.Set[string], isSecondaryControlPlane bool, downloadCerts bool) error {
    	checks, err := InitNodeChecks(execer, cfg, ignorePreflightErrors, isSecondaryControlPlane, downloadCerts)
    	if err != nil {
    		return err
    	}
    	return RunChecks(checks, os.Stderr, ignorePreflightErrors)
    }
    
    // JoinNodeChecks returns checks specific to "kubeadm join"
    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