Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for IgnorePreflightErrors (0.23 sec)

  1. cmd/kubeadm/app/cmd/reset_test.go

    	return func(t *testing.T, data *resetData) {
    		if !expected.Equal(data.ignorePreflightErrors) {
    			t.Errorf("Invalid ignore preflight errors. Expected: %v. Actual: %v", sets.List(expected), sets.List(data.ignorePreflightErrors))
    		}
    		if data.cfg != nil && !expected.HasAll(data.cfg.NodeRegistration.IgnorePreflightErrors...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top