Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for maxCodes (0.17 sec)

  1. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.RuntimeRequestTimeout = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.HairpinMode == "" {
    		obj.HairpinMode = kubeletconfigv1beta1.PromiscuousBridge
    	}
    	if obj.MaxPods == 0 {
    		obj.MaxPods = 110
    	}
    	// default nil or negative value to -1 (implies node allocatable pid limit)
    	if obj.PodPidsLimit == nil || *obj.PodPidsLimit < int64(0) {
    		obj.PodPidsLimit = utilpointer.Int64(-1)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/validation/validation_test.go

    		errMsg: "invalid configuration: maxOpenFiles (--max-open-files) -1 must not be a negative number",
    	}, {
    		name: "invalid MaxPods",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.MaxPods = -1
    			return conf
    		},
    		errMsg: "invalid configuration: maxPods (--max-pods) -1 must not be a negative number",
    	}, {
    		name: "invalid OOMScoreAdj",
    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/fuzzer/fuzzer.go

    			obj.ImageMaximumGCAge = metav1.Duration{}
    			obj.ImageGCHighThresholdPercent = 85
    			obj.ImageGCLowThresholdPercent = 80
    			obj.KernelMemcgNotification = false
    			obj.MaxOpenFiles = 1000000
    			obj.MaxPods = 110
    			obj.MemoryManagerPolicy = v1beta1.NoneMemoryManagerPolicy
    			obj.PodPidsLimit = -1
    			obj.NodeStatusUpdateFrequency = metav1.Duration{Duration: 10 * time.Second}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/compress/flate/huffman_code.go

    	// up to the next level
    	needed int32
    }
    
    // set sets the code and length of an hcode.
    func (h *hcode) set(code uint16, length uint16) {
    	h.len = length
    	h.code = code
    }
    
    func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
    
    func newHuffmanEncoder(size int) *huffmanEncoder {
    	return &huffmanEncoder{codes: make([]hcode, size)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/validation/validation.go

    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxOpenFiles (--max-open-files) %v must not be a negative number", kc.MaxOpenFiles))
    	}
    	if kc.MaxPods < 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxPods (--max-pods) %v must not be a negative number", kc.MaxPods))
    	}
    	if utilvalidation.IsInRange(int(kc.OOMScoreAdj), -1000, 1000) != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/kubelet/preemption/preemption_test.go

    	burstable             = "burstable"
    	highRequestBurstable  = "high-request-burstable"
    	guaranteed            = "guaranteed"
    	highRequestGuaranteed = "high-request-guaranteed"
    	tinyBurstable         = "tiny"
    	maxPods               = 110
    )
    
    type fakePodKiller struct {
    	killedPods          []*v1.Pod
    	errDuringPodKilling bool
    }
    
    func newFakePodKiller(errPodKilling bool) *fakePodKiller {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters.go

    			if podsPerCore > 0 {
    				node.Status.Capacity[v1.ResourcePods] = *resource.NewQuantity(
    					int64(math.Min(float64(info.NumCores*podsPerCore), float64(maxPods))), resource.DecimalSI)
    			} else {
    				node.Status.Capacity[v1.ResourcePods] = *resource.NewQuantity(
    					int64(maxPods), resource.DecimalSI)
    			}
    
    			if node.Status.NodeInfo.BootID != "" &&
    				node.Status.NodeInfo.BootID != info.BootID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    	out.QOSReserved = *(*map[string]string)(unsafe.Pointer(&in.QOSReserved))
    	out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
    	out.HairpinMode = in.HairpinMode
    	out.MaxPods = in.MaxPods
    	out.PodCIDR = in.PodCIDR
    	if err := v1.Convert_Pointer_int64_To_int64(&in.PodPidsLimit, &out.PodPidsLimit, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. 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)
  10. pkg/printers/internalversion/printers_test.go

    					MaxReplicas: 10,
    				},
    				Status: autoscaling.HorizontalPodAutoscalerStatus{
    					CurrentReplicas: 4,
    					DesiredReplicas: 5,
    				},
    			},
    			// Columns: Name, Reference, Targets, MinPods, MaxPods, Replicas, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"some-hpa", "ReplicationController/some-rc", "<none>", "<unset>", int64(10), int64(4), "<unknown>"}}},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top