Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testClusterCfg (0.15 sec)

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

    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    )
    
    func testClusterCfg() *kubeadmapi.ClusterConfiguration {
    	return &kubeadmapi.ClusterConfiguration{
    		KubernetesVersion: constants.CurrentKubernetesVersion.String(),
    	}
    }
    
    func TestDefault(t *testing.T) {
    	clusterCfg := testClusterCfg()
    	localAPIEndpoint := &kubeadmapi.APIEndpoint{}
    	nodeRegOps := &kubeadmapi.NodeRegistrationOptions{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubeproxy_test.go

    		client := clientsetfake.NewSimpleClientset(
    			testKubeProxyConfigMap(yaml),
    		)
    
    		return kubeProxyHandler.FromCluster(client, testClusterCfg())
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubelet_test.go

    		client := clientsetfake.NewSimpleClientset(
    			testKubeletConfigMap(yaml),
    		)
    		return kubeletHandler.FromCluster(client, testClusterCfg())
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top