Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for ClusterConfiguration (0.31 sec)

  1. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    		ReadOnly:  true,
    	}
    	var tests = []struct {
    		name     string
    		cfg      *kubeadmapi.ClusterConfiguration
    		vol      map[string]map[string]v1.Volume
    		volMount map[string]map[string]v1.VolumeMount
    	}{
    		{
    			name: "Should ignore files in /etc/ssl/certs",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				CertificatesDir: testCertsDir,
    				Etcd:            kubeadmapi.Etcd{},
    			},
    			vol:      volMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs_test.go

    		kubeadmConfig: &kubeadmapi.InitConfiguration{
    			LocalAPIEndpoint: kubeadmapi.APIEndpoint{
    				AdvertiseAddress: "192.0.2.1",
    				BindPort:         443,
    			},
    			ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    				Networking: kubeadmapi.Networking{
    					ServiceSubnet: "192.0.2.0/24",
    				},
    				CertificatesDir:   certDir,
    				KubernetesVersion: kubeadmconstants.MinimumControlPlaneVersion.String(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:26:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	return allErrs
    }
    
    // ValidateClusterConfiguration validates an ClusterConfiguration object and collects all encountered errors
    func ValidateClusterConfiguration(c *kubeadm.ClusterConfiguration) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, ValidateDNS(&c.DNS, field.NewPath("dns"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// "kubeadm init".
    	// +optional
    	Patches *Patches `json:"patches,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterConfiguration contains cluster-wide configuration for a kubeadm cluster
    type ClusterConfiguration struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// Etcd holds configuration for etcd.
    	// +optional
    	Etcd Etcd `json:"etcd,omitempty"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/reset.go

    	} else if len(resetCfg.CertificatesDir) > 0 { // configured in the ResetConfiguration
    		certificatesDir = resetCfg.CertificatesDir
    	} else if len(initCfg.ClusterConfiguration.CertificatesDir) > 0 { // fetch from cluster
    		certificatesDir = initCfg.ClusterConfiguration.CertificatesDir
    	}
    
    	return &resetData{
    		certificatesDir:       certificatesDir,
    		client:                client,
    		criSocketPath:         criSocketPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/marshal_test.go

    				{Group: "foo.k8s.io", Version: "v1", Kind: "ClusterConfiguration"},
    			},
    			expected: true,
    		},
    	}
    	for _, rt := range tests {
    		t.Run(rt.name, func(t *testing.T) {
    			actual := GroupVersionKindsHasClusterConfiguration(rt.gvks...)
    			if rt.expected != actual {
    				t.Errorf("expected gvks to have a ClusterConfiguration: %t\n\tactual: %t\n", rt.expected, actual)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/staticpod/utils.go

    func GetControllerManagerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string {
    	if addr, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, kubeControllerManagerBindAddressArg, -1); idx > -1 {
    		return getProbeAddress(addr)
    	}
    	return "127.0.0.1"
    }
    
    // GetSchedulerProbeAddress returns the kubernetes scheduler probe address
    func GetSchedulerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/dns/dns.go

    	default:
    		return &replicas, errors.Errorf("multiple DNS addon deployments found: %v", deployments.Items)
    	}
    }
    
    // EnsureDNSAddon creates the CoreDNS addon
    func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, patchesDir string, out io.Writer, printManifest bool) error {
    	var replicas *int32
    	var err error
    	if !printManifest {
    		replicas, err = deployedDNSReplicas(client, coreDNSReplicas)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/token.go

    	// ClusterConfiguration is needed just for the call to LoadOrDefaultInitConfiguration
    	clusterCfg := &kubeadmapiv1.ClusterConfiguration{
    		// KubernetesVersion is not used, but we set this explicitly to avoid
    		// the lookup of the version from the internet when executing LoadOrDefaultInitConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	Timeouts *Timeouts `json:"timeouts,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterConfiguration contains cluster-wide configuration for a kubeadm cluster
    type ClusterConfiguration struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// Etcd holds configuration for etcd.
    	// +optional
    	Etcd Etcd `json:"etcd,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)
Back to top