Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for 1Gi (0.01 sec)

  1. plugin/pkg/admission/storage/persistentvolume/resize/admission_test.go

    				Spec: api.PersistentVolumeClaimSpec{
    					VolumeName: "volume1",
    					Resources: api.VolumeResourceRequirements{
    						Requests: getResourceList("1Gi"),
    					},
    					StorageClassName: &goldClassName,
    				},
    				Status: api.PersistentVolumeClaimStatus{
    					Capacity: getResourceList("1Gi"),
    					Phase:    api.ClaimBound,
    				},
    			},
    			newObj: &api.PersistentVolumeClaim{
    				Spec: api.PersistentVolumeClaimSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/util/flag/flags_test.go

    			desc: "valid input with multiple reserved-memory arguments",
    			argc: "blah --reserved-memory=0:memory=1Gi,hugepages-1Gi=1Gi --reserved-memory=1:memory=1Gi",
    			expectVal: []kubeletconfig.MemoryReservation{
    				{
    					NumaNode: 0,
    					Limits: v1.ResourceList{
    						v1.ResourceMemory:        memory1Gi,
    						resourceNameHugepages1Gi: memory1Gi,
    					},
    				},
    				{
    					NumaNode: 1,
    					Limits: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  3. pkg/apis/core/helper/helpers_test.go

    			quantity: resource.MustParse("5Mi"),
    			result:   false,
    		},
    		{
    			name:     core.ResourceName("hugepages-1Gi"),
    			quantity: resource.MustParse("2Gi"),
    			result:   true,
    		},
    		{
    			name:     core.ResourceName("hugepages-1Gi"),
    			quantity: resource.MustParse("2.1Gi"),
    			result:   false,
    		},
    		{
    			name:     core.ResourceName("hugepages-1Mi"),
    			quantity: resource.MustParse("2.1Mi"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/memory_threshold_notifier_test.go

    			available:   resource.MustParse("3Gi"),
    			usage:       resource.MustParse("2Gi"),
    			workingSet:  resource.MustParse("1Gi"),
    			evictionThreshold: evictionapi.Threshold{
    				Signal:   evictionapi.SignalMemoryAvailable,
    				Operator: evictionapi.OpLessThan,
    				Value: evictionapi.ThresholdValue{
    					Quantity: quantityMustParse("1Gi"),
    				},
    			},
    			expectedThreshold:  resource.MustParse("4Gi"),
    			updateThresholdErr: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. pkg/controller/volume/expand/expand_controller_test.go

    			pvcKey:   "default/no-pv-pvc",
    			hasError: true,
    		},
    		{
    			name:               "when pvc and pv has everything for in-tree plugin",
    			pv:                 getFakePersistentVolume("vol-3", csitranslationplugins.AWSEBSInTreePluginName, "1Gi", "good-pvc-vol-3"),
    			pvc:                getFakePersistentVolumeClaim("good-pvc", "vol-3", "1Gi", "2Gi", "good-pvc-vol-3"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pkg/registry/core/node/strategy_test.go

    					api.ResourceName("hugepages-1Gi"): resource.MustParse("2Gi"),
    				},
    			},
    		}, api.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "hugepage-change-values",
    			},
    			Status: api.NodeStatus{
    				Capacity: api.ResourceList{
    					api.ResourceName("hugepages-2Mi"): resource.MustParse("2Gi"),
    					api.ResourceName("hugepages-1Gi"): resource.MustParse("2Gi"),
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/resource_annotations.yaml.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            sidecar.istio.io/proxyCPU: 100m
            sidecar.istio.io/proxyCPULimit: 1000m
            sidecar.istio.io/proxyMemory: 1Gi
            sidecar.istio.io/proxyMemoryLimit: 2Gi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. pkg/registry/storage/csistoragecapacity/strategy_test.go

    		old, update *storage.CSIStorageCapacity
    	}{
    		{
    			name:   "before: no capacity, update: 1Gi capacity",
    			old:    getValidCSIStorageCapacity("test", ""),
    			update: getValidCSIStorageCapacity("test", "1Gi"),
    		},
    		{
    			name:   "before: 1Gi capacity, update: no capacity",
    			old:    getValidCSIStorageCapacity("test", "1Gi"),
    			update: getValidCSIStorageCapacity("test", ""),
    		},
    		{
    			name:        "name change",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. pkg/controller/deployment/util/hash_test.go

                    ],
                    "resources": {
                        "limits": {
                            "cpu": "1",
                            "memory": "1Gi"
                        },
                        "requests": {
                            "cpu": "1",
                            "memory": "1Gi"
                        }
                    },
                    "livenessProbe": {
                        "httpGet": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 28 19:00:40 UTC 2019
    - 4K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/enable-core-dump.yaml.injected

                path: /healthz/ready
                port: 15021
              periodSeconds: 15
              timeoutSeconds: 3
            resources:
              limits:
                cpu: "2"
                memory: 1Gi
              requests:
                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top