- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Preflight (0.69 sec)
-
cmd/kubeadm/app/phases/upgrade/preflight.go
"k8s.io/kubernetes/cmd/kubeadm/app/preflight" ) // CoreDNSCheck validates installed kubelet version type CoreDNSCheck struct { name string client clientset.Interface f func(clientset.Interface) error } // Name is part of the preflight.Checker interface func (c CoreDNSCheck) Name() string { return c.name } // Check is part of the preflight.Checker interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 25 13:53:28 UTC 2023 - 4.1K bytes - Viewed (0) -
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/cmd/phases/reset/preflight.go
"k8s.io/kubernetes/cmd/kubeadm/app/cmd/util" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" ) // NewPreflightPhase creates a kubeadm workflow phase implements preflight checks for reset func NewPreflightPhase() workflow.Phase { return workflow.Phase{ Name: "preflight", Aliases: []string{"pre-flight"}, Short: "Run reset pre-flight checks",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 1.9K bytes - Viewed (0) -
cmd/kubeadm/test/cmd/join_test.go
} kubeadmPath := getKubeadmPath() for _, rt := range initTest { t.Run(rt.name, func(t *testing.T) { _, _, _, actual := RunCmd(kubeadmPath, "join", rt.args, "--ignore-preflight-errors=all") if (actual == nil) != rt.expected { t.Errorf( "failed CmdJoinConfig running 'kubeadm join %s' with an error: %v\n\texpected: %t\n\t actual: %t", rt.args, actual, rt.expected,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 08 21:47:16 UTC 2020 - 6.6K 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/util/error.go
// commands. func CheckErr(err error) { checkErr(err, fatal) } // preflightError allows us to know if the error is a preflight error or not // defining the interface here avoids an import cycle of pulling in preflight into the util package type preflightError interface { Preflight() bool } // checkErr formats a given error as a string and calls the passed handleErr // func with that string and an exit code.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 3.4K 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) -
releasenotes/notes/36911.yaml
kind: bug-fix area: security # issue is a list of GitHub issues resolved in this note. issue: - 36911 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 25 19:31:28 UTC 2022 - 257 bytes - Viewed (0)