Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for componentconfig (0.29 sec)

  1. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	// depend on centralized information from this source in the future
    	if err := uploadconfig.UploadConfiguration(cfg, client); err != nil {
    		errs = append(errs, err)
    	}
    
    	// Create the new, version-branched kubelet ComponentConfig ConfigMap
    	if err := kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil {
    		errs = append(errs, errors.Wrap(err, "error creating kubelet configuration ConfigMap"))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. pkg/scheduler/scheduler.go

    	fExtenders = append(fExtenders, ignorableExtenders...)
    
    	// If there are any extended resources found from the Extenders, append them to the pluginConfig for each profile.
    	// This should only have an effect on ComponentConfig, where it is possible to configure Extenders and
    	// plugin args (and in which case the extender ignored resources take precedence).
    	if len(ignoredExtendedResources) == 0 {
    		return fExtenders, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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