Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for memoryThrottlingFactor (0.55 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/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    podLogsDir: /var/log/pods
    podPidsLimit: -1
    port: 10250
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    podLogsDir: /var/log/pods
    podPidsLimit: -1
    port: 10250
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				EnableProfilingHandler:        utilpointer.Bool(true),
    				EnableDebugFlagsHandler:       utilpointer.Bool(true),
    				SeccompDefault:                utilpointer.Bool(false),
    				MemoryThrottlingFactor:        utilpointer.Float64(DefaultMemoryThrottlingFactor),
    				RegisterNode:                  utilpointer.Bool(true),
    				LocalStorageCapacityIsolation: utilpointer.Bool(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.EnableDebugFlagsHandler = utilpointer.Bool(true)
    	}
    	if obj.SeccompDefault == nil {
    		obj.SeccompDefault = utilpointer.Bool(false)
    	}
    	if obj.MemoryThrottlingFactor == nil {
    		obj.MemoryThrottlingFactor = utilpointer.Float64(DefaultMemoryThrottlingFactor)
    	}
    	if obj.RegisterNode == nil {
    		obj.RegisterNode = utilpointer.Bool(true)
    	}
    	if obj.LocalStorageCapacityIsolation == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.ContainerRuntimeEndpoint = "unix:///run/containerd/containerd.sock"
    
    			if obj.Logging.Format == "" {
    				obj.Logging.Format = "text"
    			}
    			obj.EnableSystemLogHandler = true
    			obj.MemoryThrottlingFactor = utilpointer.Float64(rand.Float64())
    			obj.LocalStorageCapacityIsolation = true
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/fake_kuberuntime_manager.go

    		internalLifecycle:      cm.NewFakeInternalContainerLifecycle(),
    		logReduction:           logreduction.NewLogReduction(identicalErrorDelay),
    		logManager:             logManager,
    		memoryThrottlingFactor: 0.9,
    		podLogsDirectory:       fakePodLogsDirectory,
    	}
    
    	typedVersion, err := runtimeService.Version(ctx, kubeRuntimeAPIVersion)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. 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)
Back to top