Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for memoryThrottlingFactor (0.28 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/apis/config/validation/validation_test.go

    	}, {
    		name: "enable MemoryQoS without specifying MemoryThrottlingFactor",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.FeatureGates = map[string]bool{"MemoryQoS": true}
    			conf.MemoryThrottlingFactor = nil
    			return conf
    		},
    		errMsg: "invalid configuration: memoryThrottlingFactor is required when MemoryQoS feature flag is enabled",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/zz_generated.deepcopy.go

    		*out = make([]MemoryReservation, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	if in.MemoryThrottlingFactor != nil {
    		in, out := &in.MemoryThrottlingFactor, &out.MemoryThrottlingFactor
    		*out = new(float64)
    		**out = **in
    	}
    	if in.RegisterWithTaints != nil {
    		in, out := &in.RegisterWithTaints, &out.RegisterWithTaints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 09 11:19:11 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/kubelet/apis/config/types.go

    	// EnableDebugFlagsHandler enables/debug/flags/v handler.
    	EnableDebugFlagsHandler bool
    	// SeccompDefault enables the use of `RuntimeDefault` as the default seccomp profile for all workloads.
    	SeccompDefault bool
    	// MemoryThrottlingFactor specifies the factor multiplied by the memory limit or node allocatable memory
    	// when setting the cgroupv2 memory.high value to enforce MemoryQoS.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top