Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for 100M (0.05 sec)

  1. pkg/apis/core/v1/defaults_test.go

    	defaultValue := defaultLimit[v1.ResourceCPU]
    	if defaultValue.String() != "100m" {
    		t.Errorf("Expected default cpu: %s, got: %s", "100m", defaultValue.String())
    	}
    	// verify that default request was set to the limit
    	requestValue := defaultRequest[v1.ResourceCPU]
    	if requestValue.String() != "100m" {
    		t.Errorf("Expected request cpu: %s, got: %s", "100m", requestValue.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission_test.go

    			limitRange: createLimitRange(api.LimitTypeContainer, getComputeResourceList("50m", ""), api.ResourceList{}, api.ResourceList{}, api.ResourceList{}, api.ResourceList{}),
    		},
    		{
    			pod:        validPod("ctr-min-cpu-request-limit", 1, getResourceRequirements(getComputeResourceList("100m", ""), getComputeResourceList("200m", ""))),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. plugin/pkg/admission/resourcequota/admission_test.go

    	}
    
    	informerFactory.Core().V1().ResourceQuotas().Informer().GetIndexer().Add(resourceQuota)
    	newPod := validPod("123", 1, getResourceRequirements(getResourceList("100m", "2Gi"), getResourceList("", "")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{a: intQuantity(10, 0, BinarySI), expected: intQuantity(-10, 0, BinarySI)},
    		{a: intQuantity(-10, 0, BinarySI), expected: intQuantity(10, 0, BinarySI)},
    		{a: decQuantity(0, 0, DecimalSI), expected: intQuantity(0, 0, DecimalSI)},
    		{a: decQuantity(10, 0, BinarySI), expected: intQuantity(-10, 0, BinarySI)},
    		{a: decQuantity(-10, 0, BinarySI), expected: intQuantity(10, 0, BinarySI)},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/strategy_test.go

    	testCases := []struct {
    		pod      *api.Pod
    		expected api.PodQOSClass
    	}{
    		{
    			pod: newPod("guaranteed", []api.Container{
    				newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")),
    			}),
    			expected: api.PodQOSGuaranteed,
    		},
    		{
    			pod: newPod("best-effort", []api.Container{
    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"double(self.val1) < self.val6": 6,
    				"self.val1 < int(self.val6)":    6,
    
    				// compare literal integers and floats
    				"double(5) < 10.0": 1,
    				"5 < int(10.0)":    1,
    
    				// compare integers with literal floats
    				"double(self.val1) < 10.0": 4,
    			},
    		},
    		{name: "unicode strings",
    			obj:    objs("Rook takes 👑", "Rook takes 👑"),
    			schema: schemas(stringType, stringType),
    			expectCost: map[string]int64{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    			batchPeriod: 0 * time.Second,
    			adds: []podAdd{
    				{
    					// endpoints.Run needs ~100 ms to start processing updates.
    					delay: 200 * time.Millisecond,
    				},
    				{
    					delay: 100 * time.Millisecond,
    				},
    				{
    					delay: 100 * time.Millisecond,
    				},
    			},
    			finalDelay:       3 * time.Second,
    			wantRequestCount: 3,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	fakeRuntime, _, m, err := createTestRuntimeManager()
    	m.machineInfo.MemoryCapacity = 17179860387 // 16GB
    	assert.NoError(t, err)
    
    	cpu100m := resource.MustParse("100m")
    	cpu200m := resource.MustParse("200m")
    	mem100M := resource.MustParse("100Mi")
    	mem200M := resource.MustParse("200Mi")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/enable-core-dump.yaml.5.template.gen.yaml

                {{- end }}
                resources:
                  limits:
                    cpu: "2"
                    memory: 1Gi
                  requests:
                    cpu: 100m
                    memory: 128Mi
                startupProbe:
                  failureThreshold: 30
                  httpGet:
                    path: /healthz/ready
                    port: 15021
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks-json.yaml.16.template.gen.yaml

                {{- end }}
                resources:
                  limits:
                    cpu: "2"
                    memory: 1Gi
                  requests:
                    cpu: 100m
                    memory: 128Mi
                startupProbe:
                  failureThreshold: 30
                  httpGet:
                    path: /healthz/ready
                    port: 15021
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top