Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/api/v1/resource/helpers_test.go

    			expectedRequests: v1.ResourceList{
    				v1.ResourceCPU:    resource.MustParse("6"),
    				v1.ResourceMemory: resource.MustParse("1Gi"),
    			},
    			overhead: v1.ResourceList{
    				v1.ResourceCPU:    resource.MustParse("1"),
    				v1.ResourceMemory: resource.MustParse("1Gi"),
    			},
    			initContainers: []v1.Container{
    				{
    					Resources: v1.ResourceRequirements{
    						Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:13 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/kubelet/apis/config/types.go

    	// For example, if you have a NUMA0 with 10Gi of memory and the ReservedMemory was specified to reserve 1Gi of memory at NUMA0,
    	// the memory manager will assume that only 9Gi is available for allocation.
    	// You can specify a different amount of NUMA node and memory types.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top