Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for initConfiguration (0.65 sec)

  1. cmd/kubeadm/app/cmd/phases/upgrade/node/data_test.go

    func (t *testData) DryRun() bool                            { return false }
    func (t *testData) Cfg() *kubeadmapi.UpgradeConfiguration   { return nil }
    func (t *testData) InitCfg() *kubeadmapi.InitConfiguration  { return nil }
    func (t *testData) IsControlPlaneNode() bool                { return false }
    func (t *testData) Client() clientset.Interface             { return nil }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    		fuzzUpgradeConfiguration,
    	}
    }
    
    func fuzzInitConfiguration(obj *kubeadm.InitConfiguration, c fuzz.Continue) {
    	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)
    
    	// Avoid round tripping the ClusterConfiguration embedded in the InitConfiguration, since it is
    	// only present in the internal version and not in public versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_InitConfiguration assigns default values for the InitConfiguration
    func SetDefaults_InitConfiguration(obj *InitConfiguration) {
    	SetDefaults_BootstrapTokens(obj)
    	SetDefaults_APIEndpoint(&obj.LocalAPIEndpoint)
    	SetDefaults_NodeRegistration(&obj.NodeRegistration)
    	if obj.Timeouts == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    	var tests = []struct {
    		name     string
    		s        *kubeadmapi.InitConfiguration
    		expected bool
    	}{
    		{"invalid missing InitConfiguration",
    			&kubeadmapi.InitConfiguration{}, false},
    		{"invalid missing token with IPv4 service subnet",
    			&kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{
    					AdvertiseAddress: "1.2.3.4",
    					BindPort:         6443,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    		# upload the configuration of your cluster
    		kubeadm init phase upload-config --config=myConfig.yaml
    		`)
    
    	uploadKubeletConfigLongDesc = cmdutil.LongDesc(`
    		Upload the kubelet configuration extracted from the kubeadm InitConfiguration object
    		to a kubelet-config ConfigMap in the cluster
    		`)
    
    	uploadKubeletConfigExample = cmdutil.Examples(`
    		# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		}
    	}
    
    	return nil
    }
    
    // GetPathManagerForUpgrade returns a path manager properly configured for the given InitConfiguration.
    func GetPathManagerForUpgrade(kubernetesDir, patchesDir string, internalcfg *kubeadmapi.InitConfiguration, etcdUpgrade bool) (StaticPodPathManager, error) {
    	isExternalEtcd := internalcfg.Etcd.External != nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/upgrade/node/data.go

    // The "nodeData" type from "cmd/upgrade/node.go" must satisfy this interface.
    type Data interface {
    	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)
  8. cmd/kubeadm/app/cmd/certs.go

    }
    
    // genCSRConfig is the configuration required by the gencsr command
    type genCSRConfig struct {
    	kubeadmConfigPath string
    	certDir           string
    	kubeConfigDir     string
    	kubeadmConfig     *kubeadmapi.InitConfiguration
    }
    
    func newGenCSRConfig() *genCSRConfig {
    	return &genCSRConfig{
    		kubeConfigDir: kubeadmconstants.KubernetesDir,
    	}
    }
    
    func (o *genCSRConfig) addFlagSet(flagSet *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/init/data_test.go

    func (t *testInitData) SetCertificateKey(key string)                         {}
    func (t *testInitData) SkipCertificateKeyPrint() bool                        { return false }
    func (t *testInitData) Cfg() *kubeadmapi.InitConfiguration                   { return nil }
    func (t *testInitData) DryRun() bool                                         { return false }
    func (t *testInitData) SkipTokenPrint() bool                                 { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 10:43:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    // Note that the mark-control-plane phase is left out, not needed, and no token is created as that doesn't belong to the upgrade
    func PerformPostUpgradeTasks(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, patchesDir string, dryRun bool, out io.Writer) error {
    	var errs []error
    
    	// Upload currently used configuration to the cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top