Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Preflight (0.15 sec)

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

    			printer.Fprintf(w, "\t%s\n", scanner.Text())
    		}
    	}
    }
    
    // runPreflightChecks runs the root preflight check
    func runPreflightChecks(client clientset.Interface, ignorePreflightErrors sets.Set[string], printer output.Printer) error {
    	printer.Printf("[preflight] Running pre-flight checks.\n")
    	err := preflight.RunRootCheckOnly(ignorePreflightErrors)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/join.go

    	// and validates JoinConfiguration
    	if opt.externalcfg.NodeRegistration.Name == "" {
    		klog.V(1).Infoln("[preflight] found NodeName empty; using OS hostname as NodeName")
    	}
    
    	if opt.externalcfg.ControlPlane != nil && opt.externalcfg.ControlPlane.LocalAPIEndpoint.AdvertiseAddress == "" {
    		klog.V(1).Infoln("[preflight] found advertiseAddress empty; using default interface's IP address as advertiseAddress")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/preflight/checks.go

    type Error struct {
    	Msg string
    }
    
    // Error implements the standard error interface
    func (e *Error) Error() string {
    	return fmt.Sprintf("[preflight] Some fatal errors occurred:\n%s%s", e.Msg, "[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`")
    }
    
    // Preflight identifies this error as a preflight error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/join_test.go

    		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...) {
    			t.Errorf("Invalid ignore preflight errors in JoinConfiguration. Expected: %v. Actual: %v", sets.List(expected), 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_test.go

    		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...) {
    			t.Errorf("Invalid ignore preflight errors in InitConfiguration. Expected: %v. Actual: %v", sets.List(expected), 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)
  6. tests/integration/security/jwt_test.go

    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "expired-token-cors-preflight-request-allowed",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/expired-token-cors-preflight-request-allowed"
    						opts.HTTP.Method = "OPTIONS"
    						opts.HTTP.Headers = headers.New().
    							WithAuthz(jwt.TokenExpired).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/apply.go

    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/features"
    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/upgrade"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    	configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/dns/dns.go

    		if err := migrateCoreDNSCorefile(client, coreDNSConfigMap, corefile, currentInstalledCoreDNSVersion); err != nil {
    			// Errors in Corefile Migration is verified during preflight checks. This part will be executed when a user has chosen
    			// to ignore preflight check errors.
    			canMigrateCorefile = false
    			klog.Warningf("the CoreDNS Configuration was not migrated: %v. The existing CoreDNS Corefile configuration has been retained.", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		{[]string{"--foo=bar"}, true},
    		{[]string{"--config=hello"}, true},
    		{[]string{"--config=hello", "--ignore-preflight-errors=all"}, true},
    		// Expected to succeed, --config is mixed with skip-* flags only or no other flags
    		{[]string{"--config=hello", "--skip-token-print=true"}, true},
    		{[]string{"--config=hello", "--ignore-preflight-errors=baz", "--skip-token-print"}, true},
    		// Expected to fail, --config is mixed with the --foo flag
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/node.go

    	return d.client
    }
    
    // PatchesDir returns the folder where patches for components are stored
    func (d *nodeData) PatchesDir() string {
    	return d.patchesDir
    }
    
    // IgnorePreflightErrors returns the list of preflight errors to ignore.
    func (d *nodeData) IgnorePreflightErrors() sets.Set[string] {
    	return d.ignorePreflightErrors
    }
    
    // KubeConfigPath returns the path to the user kubeconfig file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top