Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for componentconfig (0.24 sec)

  1. cmd/kube-controller-manager/app/autoscaling.go

    		controllerContext.InformerFactory.Core().V1().Pods(),
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerSyncPeriod.Duration,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerDownscaleStabilizationWindow.Duration,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerTolerance,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerCPUInitializationPeriod.Duration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 01:37:36 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	klog.V(2).Infoln("[componentconfig] Adapting the paths in the KubeletConfiguration for Windows...")
    
    	// Get the drive from where the kubeadm binary was called.
    	exe, err := os.Executable()
    	if err != nil {
    		return errors.Wrap(err, "could not obtain information about the kubeadm executable")
    	}
    	drive := filepath.VolumeName(filepath.Dir(exe))
    	klog.V(2).Infof("[componentconfig] Assuming Windows drive %q", drive)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/apps.go

    		flowcontrol.NewBackOff(1*time.Second, 15*time.Minute),
    	)
    	if err != nil {
    		return nil, true, fmt.Errorf("error creating DaemonSets controller: %v", err)
    	}
    	go dsc.Run(ctx, int(controllerContext.ComponentConfig.DaemonSetController.ConcurrentDaemonSetSyncs))
    	return nil, true, nil
    }
    
    func newStatefulSetControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.StatefulSetController,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/kubelet_test.go

    	runKubeletFromTest(t, func(gvk schema.GroupVersionKind, yaml string) (kubeadmapi.ComponentConfig, error) {
    		return kubeletHandler.FromDocumentMap(kubeadmapi.DocumentMap{
    			gvk: []byte(yaml),
    		})
    	})
    }
    
    func TestKubeletFromCluster(t *testing.T) {
    	runKubeletFromTest(t, func(_ schema.GroupVersionKind, yaml string) (kubeadmapi.ComponentConfig, error) {
    		client := clientsetfake.NewSimpleClientset(
    			testKubeletConfigMap(yaml),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/kubelet.go

    	CreateEmpty: func() kubeadmapi.ComponentConfig {
    		return &kubeletConfig{
    			configBase: configBase{
    				GroupVersion: kubeletconfig.SchemeGroupVersion,
    			},
    		}
    	},
    	fromCluster: kubeletConfigFromCluster,
    }
    
    func kubeletConfigFromCluster(h *handler, clientset clientset.Interface, _ *kubeadmapi.ClusterConfiguration) (kubeadmapi.ComponentConfig, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/storageversionmigrator.go

    		!clientgofeaturegate.FeatureGates().Enabled(clientgofeaturegate.InformerResourceVersion) {
    		return nil, false, nil
    	}
    
    	if !controllerContext.ComponentConfig.GarbageCollectorController.EnableGarbageCollector {
    		return nil, true, fmt.Errorf("storage version migrator requires garbage collector")
    	}
    
    	config := controllerContext.ClientBuilder.ConfigOrDie(controllerName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/validatingadmissionpolicystatus.go

    		controllerContext.ClientBuilder.ClientOrDie(names.ValidatingAdmissionPolicyStatusController).AdmissionregistrationV1().ValidatingAdmissionPolicies(),
    		typeChecker,
    	)
    
    	go c.Run(ctx, int(controllerContext.ComponentConfig.ValidatingAdmissionPolicyStatusController.ConcurrentPolicySyncs))
    	return nil, true, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/upgradeconfiguration.go

    // The map may contain many different YAML documents. These YAML documents are parsed one-by-one
    // and well-known ComponentConfig GroupVersionKinds are stored inside of the internal UpgradeConfiguration struct.
    // The resulting UpgradeConfiguration is then dynamically defaulted and validated prior to return.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/controllermanager_test.go

    			_, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    
    			controllerCtx := ControllerContext{}
    			controllerCtx.ComponentConfig.Generic.Controllers = []string{names.TaintEvictionController}
    
    			initFuncCalled := false
    
    			taintEvictionControllerDescriptor := NewControllerDescriptors()[names.TaintEvictionController]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. hack/lib/init.sh

    KUBE_NONSERVER_GROUP_VERSIONS="
     abac.authorization.kubernetes.io/v0 \
     abac.authorization.kubernetes.io/v1beta1 \
     apidiscovery.k8s.io/v2beta1 \
     apidiscovery.k8s.io/v2 \
     componentconfig/v1alpha1 \
     imagepolicy.k8s.io/v1alpha1\
     admission.k8s.io/v1\
     admission.k8s.io/v1beta1\
    "
    export KUBE_NONSERVER_GROUP_VERSIONS
    
    # This emulates "readlink -f" which is not available on MacOS X.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top