Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for SkipPhases (0.23 sec)

  1. cmd/kubeadm/app/cmd/init_test.go

    			cfg:                &kubeadmapi.ClusterConfiguration{},
    			expectedCfg:        &kubeadmapi.ClusterConfiguration{},
    			skipPhases:         []string{},
    			expectedSkipPhases: []string{},
    		},
    	}
    	for _, tc := range testcases {
    		t.Run(tc.name, func(t *testing.T) {
    			skipPhases := manageSkippedAddons(tc.cfg, tc.skipPhases)
    			assert.Equal(t, tc.expectedSkipPhases, skipPhases)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
    	out.LocalAPIEndpoint = in.LocalAPIEndpoint
    	if in.SkipPhases != nil {
    		in, out := &in.SkipPhases, &out.SkipPhases
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Patches != nil {
    		in, out := &in.Patches, &out.Patches
    		*out = new(Patches)
    		**out = **in
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/init.go

    		skipPhases = append(skipPhases, coreDNSPhase)
    	}
    	if cfg.Proxy.Disabled && !skipProxyPhase {
    		skipPhases = append(skipPhases, kubeProxyPhase)
    	}
    	return skipPhases
    }
    
    func isPhaseInSkipPhases(phase string, skipPhases []string) bool {
    	for _, item := range skipPhases {
    		if item == phase {
    			return true
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	}
    	if err := Convert_v1beta4_APIEndpoint_To_kubeadm_APIEndpoint(&in.LocalAPIEndpoint, &out.LocalAPIEndpoint, s); err != nil {
    		return err
    	}
    	out.CertificateKey = in.CertificateKey
    	out.SkipPhases = *(*[]string)(unsafe.Pointer(&in.SkipPhases))
    	out.Patches = (*kubeadm.Patches)(unsafe.Pointer(in.Patches))
    	out.Timeouts = (*kubeadm.Timeouts)(unsafe.Pointer(in.Timeouts))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
    	out.LocalAPIEndpoint = in.LocalAPIEndpoint
    	if in.SkipPhases != nil {
    		in, out := &in.SkipPhases, &out.SkipPhases
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Patches != nil {
    		in, out := &in.Patches, &out.Patches
    		*out = new(Patches)
    		**out = **in
    	}
    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/apis/kubeadm/v1beta4/types.go

    	// +optional
    	CertificateKey string `json:"certificateKey,omitempty"`
    
    	// SkipPhases is a list of phases to skip during command execution.
    	// The list of phases can be obtained with the "kubeadm init --help" command.
    	// The flag "--skip-phases" takes precedence over this field.
    	// +optional
    	SkipPhases []string `json:"skipPhases,omitempty"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    		},
    		{
    			name:     "options can skip phases",
    			options:  RunnerOptions{SkipPhases: []string{"foo/bar", "qux"}},
    			expected: map[string]bool{"foo": true, "foo/bar": false, "foo/baz": true, "qux": false},
    		},
    		{
    			name:     "options can skip phases - hierarchy is considered",
    			options:  RunnerOptions{SkipPhases: []string{"foo"}},
    			expected: map[string]bool{"foo": false, "foo/bar": false, "foo/baz": false, "qux": true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.deepcopy.go

    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
    	out.LocalAPIEndpoint = in.LocalAPIEndpoint
    	if in.SkipPhases != nil {
    		in, out := &in.SkipPhases, &out.SkipPhases
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Patches != nil {
    		in, out := &in.Patches, &out.Patches
    		*out = new(Patches)
    		**out = **in
    	}
    	return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    	}
    	if err := Convert_v1beta3_APIEndpoint_To_kubeadm_APIEndpoint(&in.LocalAPIEndpoint, &out.LocalAPIEndpoint, s); err != nil {
    		return err
    	}
    	out.CertificateKey = in.CertificateKey
    	out.SkipPhases = *(*[]string)(unsafe.Pointer(&in.SkipPhases))
    	out.Patches = (*kubeadm.Patches)(unsafe.Pointer(in.Patches))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/node.go

    		if err != nil {
    			return nil, err
    		}
    		// If the flag for skipping phases was empty, use the values from config
    		if len(nodeRunner.Options.SkipPhases) == 0 {
    			nodeRunner.Options.SkipPhases = data.cfg.Node.SkipPhases
    		}
    		return data, nil
    	})
    
    	// binds the Runner to kubeadm upgrade node command by altering
    	// command help, adding --skip-phases flag and by adding phases subcommands
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top