- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for IgnorePreflightErrors (0.26 sec)
-
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) -
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) -
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) -
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) -
cmd/kubeadm/app/cmd/options/generic.go
} // AddIgnorePreflightErrorsFlag adds the --ignore-preflight-errors flag to the given flagset func AddIgnorePreflightErrorsFlag(fs *pflag.FlagSet, ignorePreflightErrors *[]string) { fs.StringSliceVar( ignorePreflightErrors, IgnorePreflightErrors, *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: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/upgrade.go
kubeConfigPath string cfgPath string featureGatesString string allowExperimentalUpgrades bool allowRCUpgrades bool printConfig bool ignorePreflightErrors []string out io.Writer } // NewCmdUpgrade returns the cobra command for `kubeadm upgrade` func NewCmdUpgrade(out io.Writer) *cobra.Command { flags := &applyPlanFlags{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:18:29 UTC 2022 - 2.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/preflight.go
Aliases: []string{"pre-flight"}, Short: "Run reset pre-flight checks", Long: "Run pre-flight checks for kubeadm reset.", Run: runPreflight, InheritFlags: []string{ options.IgnorePreflightErrors, options.ForceReset, options.DryRun, }, } } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { r, ok := c.(resetData) if !ok {
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/app/phases/upgrade/preflight.go
return nil, []error{err} } return nil, nil } // RunCoreDNSMigrationCheck initializes checks related to CoreDNS migration. func RunCoreDNSMigrationCheck(client clientset.Interface, ignorePreflightErrors sets.Set[string]) error { migrationChecks := []preflight.Checker{ &CoreDNSCheck{ name: "CoreDNSUnsupportedPlugins", client: client, f: checkUnsupportedPlugins, }, &CoreDNSCheck{
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/reset/data.go
) // resetData is the interface to use for reset phases. // The "resetData" type from "cmd/reset.go" must satisfy this interface. type resetData interface { ForceReset() bool InputReader() io.Reader IgnorePreflightErrors() sets.Set[string] Cfg() *kubeadmapi.InitConfiguration ResetCfg() *kubeadmapi.ResetConfiguration DryRun() bool Client() clientset.Interface CertificatesDir() string CRISocketPath() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 09:03:31 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data.go
type InitData interface { UploadCerts() bool CertificateKey() string SetCertificateKey(key string) SkipCertificateKeyPrint() bool Cfg() *kubeadmapi.InitConfiguration DryRun() bool SkipTokenPrint() bool IgnorePreflightErrors() sets.Set[string] CertificateWriteDir() string CertificateDir() string KubeConfigDir() string KubeConfigPath() string ManifestDir() string KubeletDir() string ExternalCA() bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 1.4K bytes - Viewed (0)