Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for componentconfig (0.26 sec)

  1. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// A key in this map is the flag name as it appears on the
    	// command line except without leading dash(es).
    	// TODO: This is temporary and ideally we would like to switch all components to
    	// use ComponentConfig + ConfigMaps.
    	// +optional
    	ExtraArgs map[string]string `json:"extraArgs,omitempty"`
    
    	// ExtraVolumes is an extra set of host volumes, mounted to the control plane component.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    	// scheduler, update the ComponentConfig value in defaults.go
    	DefaultPodInitialBackoffDuration time.Duration = 1 * time.Second
    	// DefaultPodMaxBackoffDuration is the default value for the max backoff duration
    	// for unschedulable pods. To change the default podMaxBackoffDurationSeconds used by the
    	// scheduler, update the ComponentConfig value in defaults.go
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.12.md

    - 'KubeSchedulerConfiguration' which used to be under GroupVersion 'componentconfig/v1alpha1',
    is now under 'kubescheduler.config.k8s.io/v1alpha1'.  ([#66916](https://github.com/kubernetes/kubernetes/pull/66916), [@dixudx](https://github.com/dixudx)) Courtesy of SIG Cluster Lifecycle, SIG Scheduling, and SIG Testing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/configset_test.go

    	nodeRegOps := &kubeadmapi.NodeRegistrationOptions{}
    
    	Default(clusterCfg, localAPIEndpoint, nodeRegOps)
    
    	if len(clusterCfg.ComponentConfigs) != len(known) {
    		t.Errorf("mismatch between supported and defaulted type numbers:\n\tgot: %d\n\texpected: %d", len(clusterCfg.ComponentConfigs), len(known))
    	}
    }
    
    func TestFromCluster(t *testing.T) {
    	objects := []runtime.Object{
    		testKubeProxyConfigMap(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/kubelet/config.go

    // Used at "kubeadm init" and "kubeadm upgrade" time
    func WriteConfigToDisk(cfg *kubeadmapi.ClusterConfiguration, kubeletDir, patchesDir string, output io.Writer) error {
    	kubeletCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeletGroup]
    	if !ok {
    		return errors.New("no kubelet component config found")
    	}
    
    	if err := kubeletCfg.Mutate(); err != nil {
    		return err
    	}
    
    	kubeletBytes, err := kubeletCfg.Marshal()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/uploadconfig/uploadconfig_test.go

    					t2.Fatalf("unable to decode config from bytes: %v", err)
    				}
    
    				if len(decodedCfg.ComponentConfigs) != 0 {
    					t2.Errorf("unexpected component configs in decodedCfg: %d", len(decodedCfg.ComponentConfigs))
    				}
    
    				// Force initialize with an empty map so that reflect.DeepEqual works
    				decodedCfg.ComponentConfigs = kubeadmapi.ComponentConfigMap{}
    
    				if !reflect.DeepEqual(decodedCfg, &cfg.ClusterConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 08:46:51 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.25.md

      - DeletionByPodGC (an orphaned Pod deleted by PodGC) ([#110959](https://github.com/kubernetes/kubernetes/pull/110959), [@mimowo](https://github.com/mimowo))
    - Kube-Scheduler ComponentConfig is graduated to GA, `kubescheduler.config.k8s.io/v1` is available now.
      Plugin `SelectorSpread` is removed in v1. ([#110534](https://github.com/kubernetes/kubernetes/pull/110534), [@kerthcet](https://github.com/kerthcet))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    		return errors.New("could not initialize a Kubernetes cluster")
    	}
    
    	waiter.SetTimeout(data.Cfg().Timeouts.KubeletHealthCheck.Duration)
    	kubeletConfig := data.Cfg().ClusterConfiguration.ComponentConfigs[componentconfigs.KubeletGroup].Get()
    	kubeletConfigTyped, ok := kubeletConfig.(*kubeletconfig.KubeletConfiguration)
    	if !ok {
    		return errors.New("could not convert the KubeletConfiguration to a typed object")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/config_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			var output bytes.Buffer
    
    			command := test.cmdProc(&output)
    			if test.componentConfigs != "" {
    				if err := command.Flags().Set("component-configs", test.componentConfigs); err != nil {
    					t.Fatalf("failed to set component-configs flag")
    				}
    			}
    			if err := command.RunE(nil, nil); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    	controlPlaneEndpoint, err := kubeadmutil.GetControlPlaneEndpoint(cfg.ControlPlaneEndpoint, localEndpoint)
    	if err != nil {
    		return []byte(""), err
    	}
    
    	kubeProxyCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeProxyGroup]
    	if !ok {
    		return []byte(""), errors.New("no kube-proxy component config found in the active component config set")
    	}
    
    	proxyBytes, err := kubeProxyCfg.Marshal()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top