- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Preflight (0.46 sec)
-
cmd/kubeadm/app/cmd/phases/join/preflight.go
}, } } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { j, ok := c.(JoinData) if !ok { return errors.New("preflight phase invoked with an invalid data struct") } fmt.Println("[preflight] Running pre-flight checks") // Start with general checks klog.V(1).Infoln("[preflight] Running general checks")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go
}, } } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { data, ok := c.(Data) if !ok { return errors.New("preflight phase invoked with an invalid data struct") } fmt.Println("[preflight] Running pre-flight checks") // First, check if we're root separately from the other preflight checks and fail fast
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/preflight.go
data, ok := c.(InitData) if !ok { return errors.New("preflight phase invoked with an invalid data struct") } fmt.Println("[preflight] Running pre-flight checks") if err := preflight.RunInitNodeChecks(utilsexec.New(), data.Cfg(), data.IgnorePreflightErrors(), false, false); err != nil { return err } if data.DryRun() { fmt.Println("[preflight] Would pull the required images (like 'kubeadm config images pull')")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
f func(clientset.Interface, *kubeadmapi.ClusterConfiguration) error } // Check is part of the preflight.Checker interface func (c *healthCheck) Check() (warnings, errors []error) { if err := c.f(c.client, c.cfg); err != nil { return nil, []error{err} } return nil, nil } // Name is part of the preflight.Checker interface func (c *healthCheck) Name() string { return c.name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0) -
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) -
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) -
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) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
"testing" "github.com/spf13/pflag" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" testutil "k8s.io/kubernetes/cmd/kubeadm/test" ) const testConfigToken = `apiVersion: v1 clusters: - cluster: certificate-authority-data:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
releasenotes/notes/50452.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 185 bytes - Viewed (0) -
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)