Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for ClusterConfiguration (0.21 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		cfg           *kubeadmapi.ClusterConfiguration
    		isIPv6        bool
    		expectedMask  int
    		expectedError bool
    	}{
    		{
    			name:         "dual ipv4 default mask",
    			cfg:          &kubeadmapi.ClusterConfiguration{},
    			isIPv6:       false,
    			expectedMask: 24,
    		},
    		{
    			name: "dual ipv4 custom mask",
    			cfg: &kubeadmapi.ClusterConfiguration{
    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/util/staticpod/utils_test.go

    	}
    }
    
    func TestGetControllerManagerProbeAddress(t *testing.T) {
    	tests := []struct {
    		desc     string
    		cfg      *kubeadmapi.ClusterConfiguration
    		expected string
    	}{
    		{
    			desc: "no controller manager extra args leads to 127.0.0.1 being used",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				ControllerManager: kubeadmapi.ControlPlaneComponent{
    					ExtraArgs: []kubeadmapi.Arg{},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/doc.go

    //
    // A list of changes since v1beta2:
    //   - The deprecated "ClusterConfiguration.useHyperKubeImage" field has been removed.
    //     Kubeadm no longer supports the hyperkube image.
    //   - The "ClusterConfiguration.DNS.Type" field has been removed since CoreDNS is the only supported
    //     DNS server type by kubeadm.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/certs.go

    	return cmd
    }
    
    type renewFlags struct {
    	cfgPath        string
    	kubeconfigPath string
    	cfg            kubeadmapiv1.ClusterConfiguration
    }
    
    func getRenewSubCommands(out io.Writer, kdir string) []*cobra.Command {
    	flags := &renewFlags{
    		cfg: kubeadmapiv1.ClusterConfiguration{
    			// Setting kubernetes version to a default value in order to allow a not necessary internet lookup
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/etcd/local_test.go

    	staticpodutil "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    	testutil "k8s.io/kubernetes/cmd/kubeadm/test"
    )
    
    func TestGetEtcdPodSpec(t *testing.T) {
    	// Creates a ClusterConfiguration
    	cfg := &kubeadmapi.ClusterConfiguration{
    		KubernetesVersion: "v1.7.0",
    		Etcd: kubeadmapi.Etcd{
    			Local: &kubeadmapi.LocalEtcd{
    				DataDir: "/var/lib/etcd",
    				ExtraEnvs: []kubeadmapi.EnvVar{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*kubeadm.ClusterConfiguration)(nil), (*ClusterConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_kubeadm_ClusterConfiguration_To_v1beta3_ClusterConfiguration(a.(*kubeadm.ClusterConfiguration), b.(*ClusterConfiguration), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.deepcopy.go

    func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(ClusterConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ClusterConfiguration) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

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

    	// Use the validity periods defined in the ClusterConfiguration.
    	// If CAName is empty this is a CA cert.
    	if len(k.CAName) != 0 {
    		if ic.ClusterConfiguration.CertificateValidityPeriod != nil {
    			k.config.NotAfter = k.creationTime.
    				Add(ic.ClusterConfiguration.CertificateValidityPeriod.Duration)
    		}
    	} else {
    		if ic.ClusterConfiguration.CACertificateValidityPeriod != nil {
    			k.config.NotAfter = k.creationTime.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/manifests.go

    // CreateStaticPodFiles creates all the requested static pod files.
    func CreateStaticPodFiles(manifestDir, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, isDryRun bool, componentNames ...string) error {
    	// gets the StaticPodSpecs, actualized for the current ClusterConfiguration
    	klog.V(1).Infoln("[control-plane] getting StaticPodSpecs")
    	specs := GetStaticPodSpecs(cfg, endpoint, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top