Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for EBS (0.09 sec)

  1. pkg/volume/util/attach_limit.go

    // shared between volume package and scheduler
    
    const (
    	// EBSVolumeLimitKey resource name that will store volume limits for EBS
    	EBSVolumeLimitKey = "attachable-volumes-aws-ebs"
    	// EBSNitroLimitRegex finds nitro instance types with different limit than EBS defaults
    	EBSNitroLimitRegex = "^[cmr]5.*|t3|z1d"
    	// DefaultMaxEBSVolumes is the limit for volumes attached to an instance.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. pkg/volume/util/attach_limit_test.go

    	// When driverName is less than 39 characters
    	csiLimitKey := GetCSIAttachLimitKey("com.amazon.ebs")
    	if csiLimitKey != "attachable-volumes-csi-com.amazon.ebs" {
    		t.Errorf("Expected com.amazon.ebs got %s", csiLimitKey)
    	}
    
    	// When driver is longer than 39 chars
    	longDriverName := "com.amazon.kubernetes.eks.ec2.ebs/csi-driver"
    	csiLimitKeyLonger := GetCSIAttachLimitKey(longDriverName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 05 16:29:00 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    	// In-tree volumes
    	inTreeOneVolPod := st.MakePod().PVC("csi-kubernetes.io/aws-ebs-0").Obj()
    	inTreeTwoVolPod := st.MakePod().PVC("csi-kubernetes.io/aws-ebs-1").PVC("csi-kubernetes.io/aws-ebs-2").Obj()
    
    	// pods with matching csi driver names
    	csiEBSOneVolPod := st.MakePod().PVC("csi-ebs.csi.aws.com-0").Obj()
    	csiEBSTwoVolPod := st.MakePod().PVC("csi-ebs.csi.aws.com-1").PVC("csi-ebs.csi.aws.com-2").Obj()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/metrics/metrics.go

    }
    
    // volumeCount is a map of maps used as a counter, e.g.:
    //
    //	node 172.168.1.100.ec2.internal has 10 EBS and 3 glusterfs PVC in use:
    //	{"172.168.1.100.ec2.internal": {"aws-ebs": 10, "glusterfs": 3}}
    //	state actual_state_of_world contains a total of 10 EBS volumes:
    //	{"actual_state_of_world": {"aws-ebs": 10}}
    type volumeCount map[string]map[string]int64
    
    func (v volumeCount) add(typeKey, counterKey string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 10 06:30:05 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    			maxVols:      4,
    			test:         "fits when node capacity >= new pod's EBS volumes",
    		},
    		{
    			newPod:       twoVolPod,
    			existingPods: []*v1.Pod{oneVolPod},
    			filterName:   ebsVolumeFilterType,
    			driverName:   csilibplugins.AWSEBSInTreePluginName,
    			maxVols:      2,
    			test:         "doesn't fit when node capacity < new pod's EBS volumes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  6. pkg/registry/storage/storageclass/strategy_test.go

    	bindingMode := storage.VolumeBindingWaitForFirstConsumer
    	storageClass := &storage.StorageClass{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "valid-class",
    		},
    		Provisioner: "kubernetes.io/aws-ebs",
    		Parameters: map[string]string{
    			"foo": "bar",
    		},
    		ReclaimPolicy:     &deleteReclaimPolicy,
    		VolumeBindingMode: &bindingMode,
    	}
    
    	Strategy.PrepareForCreate(ctx, storageClass)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 17:19:47 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  7. pkg/registry/storage/storageclass/storage/storage_test.go

    	bindingMode := storageapi.VolumeBindingImmediate
    	return &storageapi.StorageClass{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Provisioner: "kubernetes.io/aws-ebs",
    		Parameters: map[string]string{
    			"foo": "bar",
    		},
    		ReclaimPolicy:     &deleteReclaimPolicy,
    		VolumeBindingMode: &bindingMode,
    	}
    }
    
    func TestCreate(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/index_test.go

    			VolumeMode:  &fs,
    		},
    	}
    
    	index := newPersistentVolumeOrderedIndex()
    	index.store.Add(gce)
    	index.store.Add(ebs)
    	index.store.Add(nfs)
    
    	volume, _ := index.findBestMatchForClaim(claim, false)
    	if volume.Name != ebs.Name {
    		t.Errorf("Expected %s but got volume %s instead", ebs.Name, volume.Name)
    	}
    
    	claim.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce, v1.ReadOnlyMany}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    // are already mounted. If there is already a volume mounted on that node, another pod that uses the same volume
    // can't be scheduled there.
    // This is GCE, Amazon EBS, ISCSI and Ceph RBD specific for now:
    // - GCE PD allows multiple mounts as long as they're all read-only
    // - AWS EBS forbids any two pods mounting the same volume ID
    // - Ceph RBD forbids if any two pods share at least same monitor, and match pool and image, and the image is read-only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    	// TODO We should determine the max based on VM size
    	defaultMaxAzureDiskVolumes = 16
    
    	// ebsVolumeFilterType defines the filter name for ebsVolumeFilter.
    	ebsVolumeFilterType = "EBS"
    	// gcePDVolumeFilterType defines the filter name for gcePDVolumeFilter.
    	gcePDVolumeFilterType = "GCE"
    	// azureDiskVolumeFilterType defines the filter name for azureDiskVolumeFilter.
    	azureDiskVolumeFilterType = "AzureDisk"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top