Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for kubeadmapi (0.29 sec)

  1. cmd/kubeadm/app/componentconfigs/kubelet_test.go

    			name: "DNS domain defaulting works",
    			clusterCfg: kubeadmapi.ClusterConfiguration{
    				Networking: kubeadmapi.Networking{
    					DNSDomain: "example.com",
    				},
    			},
    			expected: kubeletConfig{
    				config: kubeletconfig.KubeletConfiguration{
    					FeatureGates:  map[string]bool{},
    					StaticPodPath: kubeadmapiv1.DefaultManifestsDir,
    					ClusterDNS:    []string{kubeadmapiv1.DefaultClusterDNSIP},
    					ClusterDomain: "example.com",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/upgradeconfiguration.go

    // finds a UpgradeConfiguration, decodes it, dynamically defaults it and then validates it prior to return.
    func documentMapToUpgradeConfiguration(gvkmap kubeadmapi.DocumentMap, allowDeprecated bool) (*kubeadmapi.UpgradeConfiguration, error) {
    	var internalcfg *kubeadmapi.UpgradeConfiguration
    
    	for gvk, bytes := range gvkmap {
    		// check if this version is supported and possibly not deprecated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/certlist_test.go

    		cert           *KubeadmCert
    		cfg            *kubeadmapi.InitConfiguration
    		expectedConfig *pkiutil.CertConfig
    	}{
    		{
    			name: "encryption algorithm is set",
    			cert: &KubeadmCert{
    				creationTime: now,
    			},
    			cfg: &kubeadmapi.InitConfiguration{
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/kubelet/flags_test.go

    					KubeletExtraArgs: []kubeadmapi.Arg{
    						{Name: "hostname-override", Value: " "},
    					},
    				},
    			},
    			expectedNodeName: " ",
    			expectedHostName: strings.ToLower(hostname),
    		},
    		{
    			name: "empty parameter",
    			opts: kubeletFlagsOpts{
    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					KubeletExtraArgs: []kubeadmapi.Arg{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common_test.go

    	networking: {}
    	scheduler: {}
    `, kubeadmapiv1.SchemeGroupVersion.String())),
    		},
    		{
    			name: "cluster config with ServiceSubnet and external Etcd",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				KubernetesVersion: "v1.7.1",
    				Networking: kubeadmapi.Networking{
    					ServiceSubnet: "10.96.0.1/12",
    				},
    				Etcd: kubeadmapi.Etcd{
    					External: &kubeadmapi.ExternalEtcd{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/wait_test.go

    						ExtraArgs: []kubeadmapi.Arg{
    							{Name: "secure-port", Value: "1111"},
    						},
    					},
    				},
    				ControllerManager: kubeadmapi.ControlPlaneComponent{
    					ExtraArgs: []kubeadmapi.Arg{
    						{Name: "secure-port", Value: "2222"},
    					},
    				},
    				Scheduler: kubeadmapi.ControlPlaneComponent{
    					ExtraArgs: []kubeadmapi.Arg{
    						{Name: "secure-port", Value: "3333"},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/kubelet.go

    		kc.config.StaticPodPath = kubeadmapiv1.DefaultManifestsDir
    	} else if kc.config.StaticPodPath != kubeadmapiv1.DefaultManifestsDir {
    		warnDefaultComponentConfigValue(kind, "staticPodPath", kubeadmapiv1.DefaultManifestsDir, kc.config.StaticPodPath)
    	}
    
    	clusterDNS := ""
    	dnsIP, err := constants.GetDNSIP(cfg.Networking.ServiceSubnet)
    	if err != nil {
    		clusterDNS = kubeadmapiv1.DefaultClusterDNSIP
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/postupgrade_test.go

    			errPattern: missingKubeletConfig,
    			cfg:        &kubeadmapi.InitConfiguration{},
    		},
    		{
    			name:       "only one err: patch dir does not exist",
    			dryrun:     true,
    			patchesDir: "Bogus",
    			errPattern: "could not list patch files for path \"Bogus\"",
    			cfg: &kubeadmapi.InitConfiguration{
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					ComponentConfigs: kubeadmapi.ComponentConfigMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 11:40:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/join/data.go

    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    // JoinData is the interface to use for join phases.
    // The "joinData" type from "cmd/join.go" must satisfy this interface.
    type JoinData interface {
    	CertificateKey() string
    	Cfg() *kubeadmapi.JoinConfiguration
    	TLSBootstrapCfg() (*clientcmdapi.Config, error)
    	InitCfg() (*kubeadmapi.InitConfiguration, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    	}
    	return file.Name(), nil
    }
    
    func fakeFetchInitConfig(client clientset.Interface, printer output.Printer, logPrefix string, newControlPlane, skipComponentConfigs bool) (*kubeadmapi.InitConfiguration, error) {
    	return &kubeadmapi.InitConfiguration{
    		ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    			KubernetesVersion: "v1.0.1",
    		},
    	}, nil
    }
    
    func TestRunDiff(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top