- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 50M (0.03 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go
name: "quantity_less", expr: `quantity("50M").isLessThan(quantity("50Mi"))`, expectValue: trueVal, }, { name: "quantity_less_obvious", expr: `quantity("50M").isLessThan(quantity("100M"))`, expectValue: trueVal, }, { name: "quantity_less_false", expr: `quantity("100M").isLessThan(quantity("50M"))`, expectValue: falseVal, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.6K bytes - Viewed (0) -
cluster/gce/addons/konnectivity-agent/konnectivity-agent-ds.yaml
- name: HOST_IP valueFrom: fieldRef: fieldPath: status.hostIP resources: requests: cpu: 50m limits: memory: 30Mi volumeMounts: __EXTRA_VOL_MNTS__ - mountPath: /var/run/secrets/tokens name: konnectivity-agent-token livenessProbe:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 10:31:11 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
for i := 0; i < 4; i++ { podSpec := resourcePodSpec("node1", "50M", "50m") pods = append(pods, &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: fmt.Sprintf("pod_%d", i), }, Spec: podSpec, }) } return pods }(), deletedPod: func() *v1.Pod { podSpec := resourcePodSpec("node1", "50M", "50m") return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
Resources: api.ResourceRequirements{ Requests: api.ResourceList{ api.ResourceCPU: resource.MustParse("1"), api.ResourceMemory: resource.MustParse("50M"), api.ResourceName("example.com/dongle"): resource.MustParse("2"), }, Limits: api.ResourceList{ api.ResourceCPU: resource.MustParse("2"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux_test.go
} } }) } func TestQuotaToMilliCPU(t *testing.T) { for _, tc := range []struct { name string quota int64 period int64 expected int64 }{ { name: "50m", quota: int64(5000), period: int64(100000), expected: int64(50), }, { name: "750m", quota: int64(75000), period: int64(100000), expected: int64(750), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
} } func TestQuantityCmp(t *testing.T) { // Test when d is nil table := []struct { x string y string expect int }{ {"0", "0", 0}, {"100m", "50m", 1}, {"50m", "100m", -1}, {"10000T", "100Gi", 1}, } for _, testCase := range table { q1 := MustParse(testCase.x) q2 := MustParse(testCase.y) if result := q1.Cmp(q2); result != testCase.expect {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
}, { name: "quantity_less", expr: `quantity("50M").isLessThan(quantity("50Mi"))`, expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 3}, expectRuntimeCost: 3, }, { name: "quantity_greater", expr: `quantity("50Mi").isGreaterThan(quantity("50M"))`, expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 3}, expectRuntimeCost: 3,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
}, }, }, }, }, // Columns: Name, Reference, Targets, MinPods, MaxPods, Replicas, Age expected: []metav1.TableRow{{Cells: []interface{}{"some-hpa", "ReplicationController/some-rc", "50m/100m (avg)", "2", int64(10), int64(4), "<unknown>"}}}, }, // external source type, target value (no current) { hpa: autoscaling.HorizontalPodAutoscaler{ ObjectMeta: metav1.ObjectMeta{Name: "some-hpa"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
readonly KUBEDNS_AUTOSCALER="Deployment/kube-dns" # Resource requests of master components. CLOUD_CONTROLLER_MANAGER_CPU_REQUEST="${KUBE_CONTROLLER_MANAGER_CPU_REQUEST:-50m}" KUBE_CONTROLLER_MANAGER_CPU_REQUEST="${KUBE_CONTROLLER_MANAGER_CPU_REQUEST:-200m}" KUBE_SCHEDULER_CPU_REQUEST="${KUBE_SCHEDULER_CPU_REQUEST:-75m}" KUBE_HOME="/home/kubernetes" KUBE_BIN=${KUBE_HOME}/bin
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
`quantity("2M") == quantity("0.002G") && quantity("2000k") == quantity("2M") && quantity("0.002G") == quantity("2000k")`, `quantity(self.val1).isLessThan(quantity("100M"))`, `quantity(self.val2).isGreaterThan(quantity("50M"))`, `quantity(self.val2).compareTo(quantity("0.2G")) == 0`, `quantity("50k").add(quantity(self.val1)) == quantity("50.02k")`, `quantity("50k").sub(quantity(self.val1)) == quantity("49980")`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)