Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for memoryThrottlingFactor (0.59 sec)

  1. pkg/kubelet/apis/config/validation/validation.go

    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: memoryThrottlingFactor is required when MemoryQoS feature flag is enabled"))
    	}
    	if kc.MemoryThrottlingFactor != nil && (*kc.MemoryThrottlingFactor <= 0 || *kc.MemoryThrottlingFactor > 1.0) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			memoryHigh := int64(0)
    			if memoryLimit != 0 {
    				memoryHigh = int64(math.Floor(
    					float64(memoryRequest)+
    						(float64(memoryLimit)-float64(memoryRequest))*float64(m.memoryThrottlingFactor))/float64(defaultPageSize)) * defaultPageSize
    			} else {
    				allocatable := m.getNodeAllocatable()
    				allocatableMemory, ok := allocatable[v1.ResourceMemory]
    				if ok && allocatableMemory.Value() > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/helpers_test.go

    		"TypeMeta.APIVersion",
    		"TypeMeta.Kind",
    		"VolumeStatsAggPeriod.Duration",
    		"VolumePluginDir",
    		"ShutdownGracePeriod.Duration",
    		"ShutdownGracePeriodCriticalPods.Duration",
    		"MemoryThrottlingFactor",
    		"ContainerRuntimeEndpoint",
    		"ImageServiceEndpoint",
    		"Tracing.Endpoint",
    		"Tracing.SamplingRatePerMillion",
    		"LocalStorageCapacityIsolation",
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		seccompDefault:         seccompDefault,
    		memorySwapBehavior:     memorySwapBehavior,
    		getNodeAllocatable:     getNodeAllocatable,
    		memoryThrottlingFactor: memoryThrottlingFactor,
    		podLogsDirectory:       podLogsDirectory,
    	}
    
    	typedVersion, err := kubeRuntimeManager.getTypedVersion(ctx)
    	if err != nil {
    		klog.ErrorS(err, "Get runtime version failed")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			(float64(pod1LimitMemory.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize
    	pod2MemoryHigh := int64(math.Floor(
    		float64(podRequestMemory.Value())+
    			(float64(memoryNodeAllocatable.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize
    
    	type expectedResult struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    		ConfigMapAndSecretChangeDetectionStrategy: kubeletconfiginternal.WatchChangeDetectionStrategy,
    		ContainerLogMaxSize:                       "10Mi",
    		ContainerLogMaxFiles:                      5,
    		MemoryThrottlingFactor:                    utilpointer.Float64(0),
    	}
    	var prober volume.DynamicPluginProber
    	tp := noopoteltrace.NewTracerProvider()
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    		kubeDeps.ContainerManager,
    		klet.containerLogManager,
    		klet.runtimeClassManager,
    		seccompDefault,
    		kubeCfg.MemorySwap.SwapBehavior,
    		kubeDeps.ContainerManager.GetNodeAllocatableAbsolute,
    		*kubeCfg.MemoryThrottlingFactor,
    		kubeDeps.PodStartupLatencyTracker,
    		kubeDeps.TracerProvider,
    	)
    	if err != nil {
    		return nil, err
    	}
    	klet.containerRuntime = runtime
    	klet.streamingRuntime = runtime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.27.md

    - Kubelet: changed `MemoryThrottlingFactor` default value to `0.9` and formulas to calculate `memory.high` ([#115371](https://github.com/kubernetes/kubernetes/pull/115371), [@pacoxu](https://github.com/pacoxu))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"boolean"},
    							Format:      "",
    						},
    					},
    					"memoryThrottlingFactor": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top