Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for componentconfig (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/util/config/cluster_test.go

    			}
    			if _, ok := cfg.ComponentConfigs[componentconfigs.KubeletGroup]; !ok {
    				t.Errorf("no cfg.ComponentConfigs[%q]", componentconfigs.KubeletGroup)
    			}
    			if _, ok := cfg.ComponentConfigs[componentconfigs.KubeProxyGroup]; !ok {
    				t.Errorf("no cfg.ComponentConfigs[%q]", componentconfigs.KubeProxyGroup)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.22.md

    - The deprecated flag `--hard-pod-affinity-symmetric-weight` and `--scheduler-name` have been removed from `kube-scheduler`. Use `ComponentConfig` instead to configure those parameters. ([#102805](https://github.com/kubernetes/kubernetes/pull/102805), [@ahg-g](https://github.com/ahg-g))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/kubelet_unix.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package componentconfigs
    
    import (
    	"k8s.io/klog/v2"
    	kubeletconfig "k8s.io/kubelet/config/v1beta1"
    	"k8s.io/utils/ptr"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/initsystem"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	waiter := apiclient.NewKubeWaiter(nil, 0, os.Stdout)
    	waiter.SetTimeout(cfg.Timeouts.KubeletHealthCheck.Duration)
    	kubeletConfig := initCfg.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
    - 10.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package componentconfigs
    
    import (
    	"reflect"
    	"testing"
    
    	kubeletconfig "k8s.io/kubelet/config/v1beta1"
    	"k8s.io/utils/ptr"
    )
    
    func TestMutateResolverConfig(t *testing.T) {
    	var fooResolverConfig = "/foo/resolver"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package componentconfigs
    
    import (
    	"path/filepath"
    	"reflect"
    	"testing"
    
    	kubeletconfig "k8s.io/kubelet/config/v1beta1"
    	"k8s.io/utils/ptr"
    )
    
    func TestMutatePaths(t *testing.T) {
    	const drive = "C:"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top