Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for sizeLimit (0.3 sec)

  1. pkg/volume/emptydir/empty_dir.go

    			sizeLimit = podMemoryLimit
    		}
    	}
    
    	// volume local size is  used if and only if less than what pod could consume
    	if spec.Volume.EmptyDir.SizeLimit != nil {
    		volumeSizeLimit := spec.Volume.EmptyDir.SizeLimit
    		// ensure 0 < value < size
    		if volumeSizeLimit.Cmp(zero) > 0 && volumeSizeLimit.Cmp(*sizeLimit) < 1 {
    			sizeLimit = volumeSizeLimit
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go

    // with apply.
    type EmptyDirVolumeSourceApplyConfiguration struct {
    	Medium    *v1.StorageMedium  `json:"medium,omitempty"`
    	SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
    }
    
    // EmptyDirVolumeSourceApplyConfiguration constructs an declarative configuration of the EmptyDirVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir_test.go

    		tmpfsNoswapSupported bool
    		sizeLimit            resource.Quantity
    	}{
    		"default bahavior": {},
    		"tmpfs noswap is supported": {
    			tmpfsNoswapSupported: true,
    		},
    		"size limit is non-zero": {
    			sizeLimit: subQuantity,
    		},
    		"tmpfs noswap is supported and size limit is non-zero": {
    			tmpfsNoswapSupported: true,
    			sizeLimit:            subQuantity,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    					volumeSpec.Volume.EmptyDir.SizeLimit != nil &&
    					volumeSpec.Volume.EmptyDir.SizeLimit.Value() > 0 &&
    					(sizeLimit.Value() == 0 || volumeSpec.Volume.EmptyDir.SizeLimit.Value() < sizeLimit.Value()) {
    					sizeLimit = resource.NewQuantity(volumeSpec.Volume.EmptyDir.SizeLimit.Value(), resource.BinarySI)
    				}
    			}
    		}
    		effectiveSELinuxMountLabel := seLinuxFileLabel
    		if !util.VolumeSupportsSELinuxMount(volumeSpec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    				{
    					Name: "emptyDir1",
    					VolumeSource: v1.VolumeSource{
    						EmptyDir: &v1.EmptyDirVolumeSource{
    							SizeLimit: &quantity1Gi,
    						},
    					},
    				},
    				{
    					Name: "emptyDir2",
    					VolumeSource: v1.VolumeSource{
    						EmptyDir: &v1.EmptyDirVolumeSource{
    							SizeLimit: &quantity2Gi,
    						},
    					},
    				},
    				{
    					Name: "emptyDir3",
    					VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

                "hostPath": {
                  "path": "pathValue",
                  "type": "typeValue"
                },
                "emptyDir": {
                  "medium": "mediumValue",
                  "sizeLimit": "0"
                },
                "gcePersistentDisk": {
                  "pdName": "pdNameValue",
                  "fsType": "fsTypeValue",
                  "partition": 3,
                  "readOnly": true
                },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

                "hostPath": {
                  "path": "pathValue",
                  "type": "typeValue"
                },
                "emptyDir": {
                  "medium": "mediumValue",
                  "sizeLimit": "0"
                },
                "gcePersistentDisk": {
                  "pdName": "pdNameValue",
                  "fsType": "fsTypeValue",
                  "partition": 3,
                  "readOnly": true
                },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

                resourceFieldRef:
                  containerName: containerNameValue
                  divisor: "0"
                  resource: resourceValue
            emptyDir:
              medium: mediumValue
              sizeLimit: "0"
            ephemeral:
              volumeClaimTemplate:
                metadata:
                  annotations:
                    annotationsKey: annotationsValue
                  creationTimestamp: "2008-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

              resourceFieldRef:
                containerName: containerNameValue
                divisor: "0"
                resource: resourceValue
          emptyDir:
            medium: mediumValue
            sizeLimit: "0"
          ephemeral:
            volumeClaimTemplate:
              metadata:
                annotations:
                  annotationsKey: annotationsValue
                creationTimestamp: "2008-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

                resourceFieldRef:
                  containerName: containerNameValue
                  divisor: "0"
                  resource: resourceValue
            emptyDir:
              medium: mediumValue
              sizeLimit: "0"
            ephemeral:
              volumeClaimTemplate:
                metadata:
                  annotations:
                    annotationsKey: annotationsValue
                  creationTimestamp: "2008-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
Back to top