Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 138 for ClusterConfiguration (0.22 sec)

  1. cmd/kubeadm/app/cmd/phases/init/addons.go

    		return err
    	}
    	return dnsaddon.EnsureDNSAddon(&cfg.ClusterConfiguration, client, patchesDir, out, printManifest)
    }
    
    // runKubeProxyAddon installs KubeProxy addon to a Kubernetes cluster
    func runKubeProxyAddon(c workflow.RunData) error {
    	cfg, client, _, out, err := getInitData(c)
    	if err != nil {
    		return err
    	}
    	return proxyaddon.EnsureProxyAddon(&cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, client, out, printManifest)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/types.go

    // information. The cluster-wide config is stored in ClusterConfiguration. The InitConfiguration
    // object IS NOT uploaded to the kubeadm-config ConfigMap in the cluster, only the
    // ClusterConfiguration is.
    type InitConfiguration struct {
    	metav1.TypeMeta
    
    	// ClusterConfiguration holds the cluster-wide information, and embeds that struct (which can be (un)marshalled separately as well)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    	// KubeProxyConfigMapRoleName sets the name of ClusterRole for ConfigMap
    	KubeProxyConfigMapRoleName = "kube-proxy"
    )
    
    // EnsureProxyAddon creates the kube-proxy addons
    func EnsureProxyAddon(cfg *kubeadmapi.ClusterConfiguration, localEndpoint *kubeadmapi.APIEndpoint, client clientset.Interface, out io.Writer, printManifest bool) error {
    	cmByte, err := createKubeProxyConfigMap(cfg, localEndpoint, client, printManifest)
    	if err != nil {
    		return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/config/cluster_test.go

    	}{
    		{
    			name:          "invalid - No kubeadm-config ConfigMap",
    			expectedError: true,
    		},
    		{
    			name: "invalid - No ClusterConfiguration in kubeadm-config ConfigMap",
    			configMaps: []testresources.FakeConfigMap{
    				{
    					Name: kubeadmconstants.KubeadmConfigConfigMap, // ClusterConfiguration from kubeadm-config.
    					Data: map[string]string{},
    				},
    			},
    			expectedError: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/cluster.go

    	}
    
    	// gets ClusterConfiguration from kubeadm-config
    	clusterConfigurationData, ok := configMap.Data[constants.ClusterConfigurationConfigMapKey]
    	if !ok {
    		return nil, errors.Errorf("unexpected error when reading kubeadm-config ConfigMap: %s key value pair missing", constants.ClusterConfigurationConfigMapKey)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/kubeconfig_test.go

    		},
    		LocalAPIEndpoint: kubeadmapiv1.APIEndpoint{
    			AdvertiseAddress: "1.2.3.4",
    			BindPort:         1234,
    		},
    	}
    	clusterCfg := kubeadmapiv1.ClusterConfiguration{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: kubeadmapiv1.SchemeGroupVersion.String(),
    			Kind:       "ClusterConfiguration",
    		},
    		CertificatesDir:   certDir,
    		ClusterName:       clusterName,
    		KubernetesVersion: kubeadmconstants.MinimumControlPlaneVersion.String(),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/kubeproxy.go

    				GroupVersion: kubeproxyconfig.SchemeGroupVersion,
    			},
    		}
    	},
    	fromCluster: kubeProxyConfigFromCluster,
    }
    
    func kubeProxyConfigFromCluster(h *handler, clientset clientset.Interface, _ *kubeadmapi.ClusterConfiguration) (kubeadmapi.ComponentConfig, error) {
    	configMapName := kubeadmconstants.KubeProxyConfigMap
    	klog.V(1).Infof("attempting to download the KubeProxyConfiguration from ConfigMap %q", configMapName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 03:01:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/common.go

    	SkipCRIDetect bool
    }
    
    // MarshalKubeadmConfigObject marshals an Object registered in the kubeadm scheme. If the object is a InitConfiguration or ClusterConfiguration, some extra logic is run
    func MarshalKubeadmConfigObject(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) {
    	switch internalcfg := obj.(type) {
    	case *kubeadmapi.InitConfiguration:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/util.go

    )
    
    // SetKubernetesVersion gets the current Kubeadm version and sets it as KubeadmVersion in the config,
    // unless it's already set to a value different from the default.
    func SetKubernetesVersion(cfg *kubeadmapiv1.ClusterConfiguration) {
    
    	if cfg.KubernetesVersion != kubeadmapiv1.DefaultKubernetesVersion && cfg.KubernetesVersion != "" {
    		return
    	}
    	cfg.KubernetesVersion = version.Get().String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 14:17:32 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/register.go

    	localSchemeBuilder.Register(addKnownTypes, addDefaultingFuncs)
    }
    
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&InitConfiguration{},
    		&ClusterConfiguration{},
    		&JoinConfiguration{},
    		&ResetConfiguration{},
    		&UpgradeConfiguration{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top