- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for 300m (0.1 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
{decQuantity(1080, -3, DecimalSI), "1080m", "1.08"}, {decQuantity(108, -2, DecimalSI), "1080m", "1080000000n"}, {decQuantity(10800, -4, DecimalSI), "1080m", ""}, {decQuantity(300, 6, DecimalSI), "300M", ""}, {decQuantity(1, 12, DecimalSI), "1T", ""}, {decQuantity(1234567, 6, DecimalSI), "1234567M", ""}, {decQuantity(1234567, -3, BinarySI), "1234567m", ""}, {decQuantity(3, 3, DecimalSI), "3k", ""},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
smallRes = map[v1.ResourceName]string{ v1.ResourceCPU: "100m", v1.ResourceMemory: "100", } mediumRes = map[v1.ResourceName]string{ v1.ResourceCPU: "200m", v1.ResourceMemory: "200", } largeRes = map[v1.ResourceName]string{ v1.ResourceCPU: "300m", v1.ResourceMemory: "300", } veryLargeRes = map[v1.ResourceName]string{ v1.ResourceCPU: "500m", v1.ResourceMemory: "500", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
m.machineInfo.MemoryCapacity = 17179860387 // 16GB assert.NoError(t, err) cpu100m := resource.MustParse("100m") cpu150m := resource.MustParse("150m") cpu200m := resource.MustParse("200m") cpu250m := resource.MustParse("250m") cpu300m := resource.MustParse("300m") cpu350m := resource.MustParse("350m") mem100M := resource.MustParse("100Mi") mem150M := resource.MustParse("150Mi")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
// verify all values are specified as required on the quota newPod := validPod("not-allowed-pod", 1, getResourceRequirements(getResourceList("100m", "2Gi"), getResourceList("200m", "")))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
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) -
pkg/volume/csi/csi_mounter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
) const ( // This offset offsetCRI is to distinguish it from Cadvisor stats offsetCRI = 1000 ) const ( seedRoot = 0 seedKubelet = 200 seedMisc = 300 seedSandbox0 = 1000 seedContainer0 = 2000 seedSandbox1 = 3000 seedContainer1 = 4000 seedContainer2 = 5000 seedSandbox2 = 6000 seedContainer3 = 7000 seedSandbox3 = 8000 ) const ( pName0 = "pod0" pName1 = "pod1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
} func Test_checkNodeTopologyDistribution(t *testing.T) { zoneA := "zone-a" zoneB := "zone-b" zoneC := "zone-c" readyTrue := true readyFalse := false cpu100 := resource.MustParse("100m") cpu1000 := resource.MustParse("1000m") cpu2000 := resource.MustParse("2000m") type nodeInfo struct { zoneLabel *string ready *bool cpu *resource.Quantity }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
runPreScore bool }{ { name: "test case for ScoringStrategy RequestedToCapacityRatio case1", requestedPod: st.MakePod(). Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}). Obj(), nodes: []*v1.Node{ st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
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)