Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for EvictionHard (0.18 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    		allocatableConfig       []string
    		evictionHard            map[string]string
    		evictionSoft            map[string]string
    		evictionSoftGracePeriod map[string]string
    		evictionMinReclaim      map[string]string
    		expectErr               bool
    		expectThresholds        []evictionapi.Threshold
    	}{
    		"no values": {
    			allocatableConfig:       []string{},
    			evictionHard:            map[string]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				KubeAPIBurst:                              100,
    				SerializeImagePulls:                       utilpointer.Bool(true),
    				MaxParallelImagePulls:                     nil,
    				EvictionHard:                              nil,
    				EvictionPressureTransitionPeriod:          metav1.Duration{Duration: 5 * time.Minute},
    				EnableControllerAttachDetach:              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)
  3. pkg/kubelet/apis/config/zz_generated.deepcopy.go

    	if in.MaxParallelImagePulls != nil {
    		in, out := &in.MaxParallelImagePulls, &out.MaxParallelImagePulls
    		*out = new(int32)
    		**out = **in
    	}
    	if in.EvictionHard != nil {
    		in, out := &in.EvictionHard, &out.EvictionHard
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	if in.EvictionSoft != nil {
    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/apis/config/fuzzer/fuzzer.go

    			obj.ContentType = "application/vnd.kubernetes.protobuf"
    			obj.KubeAPIQPS = 50
    			obj.KubeAPIBurst = 100
    			obj.HairpinMode = v1beta1.PromiscuousBridge
    			obj.EvictionHard = eviction.DefaultEvictionHard
    			obj.EvictionPressureTransitionPeriod = metav1.Duration{Duration: 5 * time.Minute}
    			obj.MakeIPTablesUtilChains = 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)
  5. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	out.MaxParallelImagePulls = (*int32)(unsafe.Pointer(in.MaxParallelImagePulls))
    	out.EvictionHard = *(*map[string]string)(unsafe.Pointer(&in.EvictionHard))
    	out.EvictionSoft = *(*map[string]string)(unsafe.Pointer(&in.EvictionSoft))
    	out.EvictionSoftGracePeriod = *(*map[string]string)(unsafe.Pointer(&in.EvictionSoftGracePeriod))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    
    	// EvictionHard may be nil if it was not set in kubelet's config file.
    	// EvictionHard can have OS-specific fields, which is why there's no default value for it.
    	// See: https://github.com/kubernetes/kubernetes/pull/110263
    	if kc.EvictionHard == nil {
    		kc.EvictionHard = eviction.DefaultEvictionHard
    	}
    	return kc, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers.go

    }
    
    // ParseThresholdConfig parses the flags for thresholds.
    func ParseThresholdConfig(allocatableConfig []string, evictionHard, evictionSoft, evictionSoftGracePeriod, evictionMinimumReclaim map[string]string) ([]evictionapi.Threshold, error) {
    	results := []evictionapi.Threshold{}
    	hardThresholds, err := parseThresholdStatements(evictionHard)
    	if err != nil {
    		return nil, err
    	}
    	results = append(results, hardThresholds...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. cmd/kubelet/app/options/options.go

    	WindowsPriorityClass string
    
    	// experimentalMounterPath is the path of mounter binary. Leave empty to use the default mount path
    	ExperimentalMounterPath string
    	// This flag, if set, will avoid including `EvictionHard` limits while computing Node Allocatable.
    	// Refer to [Node Allocatable](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) doc for more information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/types.go

    	MaxParallelImagePulls *int32
    	// Map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available": "300Mi"}.
    	// Some default signals are Linux only: nodefs.inodesFree
    	EvictionHard map[string]string
    	// Map of signal names to quantities that defines soft eviction thresholds.  For example: {"memory.available": "300Mi"}.
    	EvictionSoft map[string]string
    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