Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 138 for ClusterConfiguration (0.26 sec)

  1. 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)
  2. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    			}
    
    			initConfiguration.LocalAPIEndpoint = kubeadmapi.APIEndpoint{
    				AdvertiseAddress: "1.2.3.4",
    				BindPort:         1234,
    			}
    
    			initConfiguration.ClusterConfiguration.Networking.PodSubnet = "5.6.7.8/24"
    			initConfiguration.ClusterConfiguration.ImageRepository = "someRepo"
    
    			// Simulate an error if necessary
    			switch tc.simError {
    			case ServiceAccountError:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go

    	}
    
    	// TODO: remove this check once WaitForAllControlPlaneComponents goes GA
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	if !features.Enabled(initCfg.ClusterConfiguration.FeatureGates, features.WaitForAllControlPlaneComponents) {
    		klog.V(5).Infof("[wait-control-plane] Skipping phase as the feature gate WaitForAllControlPlaneComponents is disabled")
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/certs_test.go

    			dir := testutil.SetupTempDir(t)
    			defer os.RemoveAll(dir)
    
    			cfg := &kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"},
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					Networking:      kubeadmapi.Networking{ServiceSubnet: "10.96.0.0/12", DNSDomain: "cluster.local"},
    					CertificatesDir: dir,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/etcd/local.go

    	return command
    }
    
    func prepareAndWriteEtcdStaticPod(manifestDir string, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, nodeName string, initialCluster []etcdutil.Member, isDryRun bool) error {
    	// gets etcd StaticPodSpec, actualized for the current ClusterConfiguration and the new list of etcd members
    	spec := GetEtcdPodSpec(cfg, endpoint, nodeName, initialCluster)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go

    	SetDefaults_APIEndpoint(&obj.LocalAPIEndpoint)
    	SetDefaults_NodeRegistration(&obj.NodeRegistration)
    }
    
    // SetDefaults_ClusterConfiguration assigns default values for the ClusterConfiguration
    func SetDefaults_ClusterConfiguration(obj *ClusterConfiguration) {
    	if obj.KubernetesVersion == "" {
    		obj.KubernetesVersion = DefaultKubernetesVersion
    	}
    
    	if obj.Networking.ServiceSubnet == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/staticpod/utils_others.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/users"
    )
    
    // RunComponentAsNonRoot is a NO-OP on non linux.
    func RunComponentAsNonRoot(componentName string, pod *v1.Pod, usersAndGroups *users.UsersAndGroups, cfg *kubeadmapi.ClusterConfiguration) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 983 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	}{
    		{
    			desc: "empty name",
    			name: "",
    			cfg: &kubeadmapi.InitConfiguration{
    				LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"},
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					ControlPlaneEndpoint: "api.k8s.io:6443",
    					Networking:           kubeadmapi.Networking{ServiceSubnet: "10.96.0.0/12", DNSDomain: "cluster.local"},
    					APIServer: kubeadmapi.APIServer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top