- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Preflight (0.19 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/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) -
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/preflight/checks_windows.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "github.com/pkg/errors" "golang.org/x/sys/windows" ) // Check validates if a user has elevated (administrator) privileges. func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 17:23:02 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
limitations under the License. */ package phases import ( "os" "path/filepath" "testing" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" ) func assertExists(t *testing.T, path string) { if _, err := os.Stat(path); os.IsNotExist(err) { t.Errorf("file/directory does not exist; error: %s", err) t.Errorf("file/directory does not exist: %s", path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
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)