Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for InitConfiguration (0.67 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    func (in *InitConfiguration) DeepCopy() *InitConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(InitConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *InitConfiguration) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/config_test.go

    		cmdProc          func(out io.Writer) *cobra.Command
    	}{
    		{
    			name: "InitConfiguration: No component configs",
    			expectedKinds: []string{
    				constants.ClusterConfigurationKind,
    				constants.InitConfigurationKind,
    			},
    			cmdProc: newCmdConfigPrintInitDefaults,
    		},
    		{
    			name: "InitConfiguration: KubeProxyConfiguration",
    			expectedKinds: []string{
    				constants.ClusterConfigurationKind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

            createEvilZip(templateEvalZipFile)
            templateEvalZipHash = Install.calculateSha256Sum(templateEvalZipFile)
        }
    
        void setup() {
            initConfiguration()
    
            testDir = temporaryFolder.testDirectory
            distributionDir = new TestFile(testDir, 'someDistPath')
            gradleHomeDir = new TestFile(distributionDir, 'gradle-0.9')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/cluster_test.go

    )
    
    var k8sVersionString = kubeadmconstants.MinimumControlPlaneVersion.String()
    var nodeName = "mynode"
    var cfgFiles = map[string][]byte{
    	"InitConfiguration_v1beta3": []byte(fmt.Sprintf(`
    apiVersion: %s
    kind: InitConfiguration
    `, kubeadmapiv1.SchemeGroupVersion.String())),
    	"ClusterConfiguration_v1beta3": []byte(fmt.Sprintf(`
    apiVersion: %s
    kind: ClusterConfiguration
    kubernetesVersion: %s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	var tests = []struct {
    		desc                string
    		name                string
    		cfg                 *kubeadmapi.InitConfiguration
    		expectedDNSNames    []string
    		expectedIPAddresses []string
    	}{
    		{
    			desc: "empty name",
    			name: "",
    			cfg: &kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"},
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    	externalEtcd := &kubeadmapi.InitConfiguration{
    		ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    			Etcd: kubeadmapi.Etcd{
    				External: &kubeadmapi.ExternalEtcd{
    					Endpoints: []string{"10.100.0.1:2379", "10.100.0.2:2379", "10.100.0.3:2379"},
    				},
    			},
    		},
    	}
    
    	stackedEtcd := &kubeadmapi.InitConfiguration{}
    
    	tests := []struct {
    		name             string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top