Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for 1Gi (0.02 sec)

  1. pkg/apis/core/v1/helper/helpers_test.go

    			medium:      "HugePages",
    			expectVal:   resource.Quantity{},
    			expectErr:   true,
    		},
    		{
    			description: "Valid: HugePages-1Gi",
    			medium:      "HugePages-1Gi",
    			expectVal:   resource.MustParse("1Gi"),
    			expectErr:   false,
    		},
    		{
    			description: "Valid: HugePages-2Mi",
    			medium:      "HugePages-2Mi",
    			expectVal:   resource.MustParse("2Mi"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. samples/addons/kiali.yaml

          node_selector: {}
          pod_annotations: {}
          pod_labels:
            sidecar.istio.io/inject: "false"
          priority_class_name: ""
          replicas: 1
          resources:
            limits:
              memory: 1Gi
            requests:
              cpu: 10m
              memory: 64Mi
          secret_name: kiali
          security_context: {}
          service_annotations: {}
          service_type: ""
          tolerations: []
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    					}
    				}
    			case v1.PodQOSGuaranteed:
    				resourceReqsC1 = v1.ResourceRequirements{
    					Requests: v1.ResourceList{v1.ResourceMemory: resource.MustParse("1Gi"), v1.ResourceCPU: resource.MustParse("1")},
    					Limits:   v1.ResourceList{v1.ResourceMemory: resource.MustParse("1Gi"), v1.ResourceCPU: resource.MustParse("1")},
    				}
    				resourceReqsC2 = v1.ResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/podresources/server_v1_test.go

    		{
    			MemoryType: "memory",
    			Size_:      1073741824,
    			Topology:   &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    		{
    			MemoryType: "hugepages-1Gi",
    			Size_:      1073741824,
    			Topology:   &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    	}
    
    	containers := []v1.Container{
    		{
    			Name: containerName,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

              value: "{{ (valueOrDefault .MeshConfig.TrustDomain .Values.global.trustDomain) }}"
            {{- 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: Wed May 29 22:41:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.Var(cliflag.NewLangleSeparatedMapStringString(&c.EvictionHard), "eviction-hard", "A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/index_test.go

    			VolumeMode:  &fs,
    		},
    	}
    	claimRef, err := ref.GetReference(scheme.Scheme, claim)
    	if err != nil {
    		t.Errorf("error getting claimRef: %v", err)
    	}
    
    	pv1 := testVolume("pv1", "1Gi")
    	pv5 := testVolume("pv5", "5Gi")
    	pv8 := testVolume("pv8", "8Gi")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  8. pkg/volume/hostpath/host_path_test.go

    	plug, err := plugMgr.FindCreatablePluginBySpec(spec)
    	if err != nil {
    		t.Fatalf("Can't find the plugin by name")
    	}
    	options := volume.VolumeOptions{
    		PVC:                           volumetest.CreateTestPVC("1Gi", []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}),
    		PersistentVolumeReclaimPolicy: v1.PersistentVolumeReclaimDelete,
    	}
    	logger, _ := ktesting.NewTestContext(t)
    	creator, err := plug.NewProvisioner(logger, options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	volumePluginMgr, _ := volumetesting.GetTestKubeletVolumePluginMgr(t)
    	seLinuxTranslator := util.NewFakeSELinuxLabelTranslator()
    	dsw := NewDesiredStateOfWorld(volumePluginMgr, seLinuxTranslator)
    	quantity1Gi := resource.MustParse("1Gi")
    	quantity2Gi := resource.MustParse("2Gi")
    	quantity3Gi := resource.MustParse("3Gi")
    
    	pod1 := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. pkg/volume/util/util.go

    // minimumTimeout or the timeoutIncrement per Gi of storage size, whichever is
    // greater.
    func CalculateTimeoutForVolume(minimumTimeout, timeoutIncrement int, pv *v1.PersistentVolume) int64 {
    	giQty := resource.MustParse("1Gi")
    	pvQty := pv.Spec.Capacity[v1.ResourceStorage]
    	giSize := giQty.Value()
    	pvSize := pvQty.Value()
    	timeout := (pvSize / giSize) * int64(timeoutIncrement)
    	if timeout < int64(minimumTimeout) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top