Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for IgnorePreflightErrors (0.34 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/phases/join/data.go

    	CertificateKey() string
    	Cfg() *kubeadmapi.JoinConfiguration
    	TLSBootstrapCfg() (*clientcmdapi.Config, error)
    	InitCfg() (*kubeadmapi.InitConfiguration, error)
    	Client() (clientset.Interface, error)
    	IgnorePreflightErrors() sets.Set[string]
    	OutputWriter() io.Writer
    	PatchesDir() string
    	DryRun() bool
    	KubeConfigDir() string
    	KubeletDir() string
    	ManifestDir() string
    	CertificateWriteDir() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/reset/data_test.go

    var _ resetData = &testData{}
    
    func (t *testData) ForceReset() bool                         { return false }
    func (t *testData) InputReader() io.Reader                   { return nil }
    func (t *testData) IgnorePreflightErrors() sets.Set[string]  { return nil }
    func (t *testData) Cfg() *kubeadmapi.InitConfiguration       { return nil }
    func (t *testData) DryRun() bool                             { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 09:03:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/data_test.go

    func (t *testInitData) DryRun() bool                                         { return false }
    func (t *testInitData) SkipTokenPrint() bool                                 { return false }
    func (t *testInitData) IgnorePreflightErrors() sets.Set[string]              { return nil }
    func (t *testInitData) CertificateWriteDir() string                          { return "" }
    func (t *testInitData) CertificateDir() string                               { return "" }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 10:43:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/upgrade/node/data.go

    	EtcdUpgrade() bool
    	RenewCerts() bool
    	DryRun() bool
    	Cfg() *kubeadmapi.UpgradeConfiguration
    	InitCfg() *kubeadmapi.InitConfiguration
    	IsControlPlaneNode() bool
    	Client() clientset.Interface
    	IgnorePreflightErrors() sets.Set[string]
    	PatchesDir() string
    	KubeConfigPath() string
    	OutputWriter() io.Writer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/common_test.go

    			flags: applyPlanFlags{
    				ignorePreflightErrors: []string{"bogusvalue", "all"},
    				kubeConfigPath:        fullPath,
    			},
    			expectedErr: "don't specify individual checks if 'all' is used",
    		},
    		{
    			name: "Fail to create client",
    			flags: applyPlanFlags{
    				ignorePreflightErrors: []string{"all"},
    			},
    			expectedErr: "couldn't create a Kubernetes client from file",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/join/data_test.go

    func (j *testJoinData) InitCfg() (*kubeadmapi.InitConfiguration, error) { return nil, nil }
    func (j *testJoinData) Client() (clientset.Interface, error)            { return nil, nil }
    func (j *testJoinData) IgnorePreflightErrors() sets.Set[string]         { return nil }
    func (j *testJoinData) OutputWriter() io.Writer                         { return nil }
    func (j *testJoinData) PatchesDir() string                              { return "" }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/options/constant.go

    	FeatureGatesString = "feature-gates"
    
    	// IgnorePreflightErrors sets the path a list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
    	IgnorePreflightErrors = "ignore-preflight-errors"
    
    	// ImageRepository sets the container registry to pull control plane images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/config/resetconfiguration_test.go

    				apiVersion: kubeadm.k8s.io/v1beta4
    				kind: ResetConfiguration
    				force: true
    				cleanupTmpDir: true
    				criSocket: unix:///var/run/containerd/containerd.sock
    				certificatesDir: /etc/kubernetes/pki
    				ignorePreflightErrors:
    				- a
    				- b
    			`),
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t2 *testing.T) {
    			cfgPath := filepath.Join(tmpdir, rt.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 06 13:21:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    	c.FuzzNoCustom(obj)
    
    	// Pinning values for fields that get defaults if fuzz value is empty string or nil (thus making the round trip test fail)
    	obj.IgnorePreflightErrors = nil
    	obj.ImagePullSerial = ptr.To(true)
    }
    
    func fuzzClusterConfiguration(obj *kubeadm.ClusterConfiguration, c fuzz.Continue) {
    	c.FuzzNoCustom(obj)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top