Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for pvs (0.1 sec)

  1. pkg/controller/volume/persistentvolume/framework_test.go

    		newVolume(name, capacity, boundToClaimUID, boundToClaimName, phase, reclaimPolicy, class, annotations...),
    	}
    }
    
    func withVolumeDeletionTimestamp(pvs []*v1.PersistentVolume) []*v1.PersistentVolume {
    	result := []*v1.PersistentVolume{}
    	for _, pv := range pvs {
    		// Using time.Now() here will cause mismatching deletion timestamps in tests
    		deleteTime := metav1.Date(2020, time.February, 18, 10, 30, 30, 10, time.UTC)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. pkg/scheduler/eventhandlers.go

    		case framework.PersistentVolume:
    			// MaxPDVolumeCountPredicate: since it relies on the counts of PV.
    			//
    			// PvAdd: Pods created when there are no PVs available will be stuck in
    			// unschedulable queue. But unbound PVs created for static provisioning and
    			// delay binding storage class are skipped in PV controller dynamic
    			// provisioning and binding process, will not trigger events to schedule pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    	snapshot := cache.NewSnapshot(pods, nodes)
    
    	objects := make([]runtime.Object, 0, len(pvcs))
    	for _, pvc := range pvcs {
    		objects = append(objects, pvc)
    	}
    	for _, pv := range pvs {
    		objects = append(objects, pv)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  4. pkg/controller/volume/expand/expand_controller.go

    	"k8s.io/kubernetes/pkg/volume/util/volumepathhandler"
    )
    
    const (
    	// number of default volume expansion workers
    	defaultWorkerCount = 10
    )
    
    // ExpandController expands the pvs
    type ExpandController interface {
    	Run(ctx context.Context)
    }
    
    // CSINameTranslator can get the CSI Driver name based on the in-tree plugin name
    type CSINameTranslator interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    		},
    		{
    			newPod:       anotherDeletedPVPod,
    			existingPods: []*v1.Pod{oneAzureDiskPod, deletedPVPod},
    			filterName:   azureDiskVolumeFilterType,
    			maxVols:      2,
    			test:         "two pods missing different PVs are counted towards the PV limit twice",
    		},
    		{
    			newPod:       onePVCPod(azureDiskVolumeFilterType),
    			existingPods: []*v1.Pod{oneAzureDiskPod, unboundPVCPod},
    			filterName:   azureDiskVolumeFilterType,
    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/controller/volume/persistentvolume/pv_controller_base.go

    		return
    	}
    	for _, pvc := range pvcs {
    		ctrl.enqueueWork(ctx, ctrl.claimQueue, pvc)
    	}
    
    	pvs, err := ctrl.volumeLister.List(labels.NewSelector())
    	if err != nil {
    		logger.Info("Cannot list persistent volumes", "err", err)
    		return
    	}
    	for _, pv := range pvs {
    		ctrl.enqueueWork(ctx, ctrl.volumeQueue, pv)
    	}
    }
    
    // setClaimProvisioner saves
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/testing/testing.go

    func (r *VolumeReactor) AddClaims(claims []*v1.PersistentVolumeClaim) {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    	for _, claim := range claims {
    		r.claims[claim.Name] = claim
    	}
    }
    
    // AddVolumes adds PVs into VolumeReactor.
    func (r *VolumeReactor) AddVolumes(volumes []*v1.PersistentVolume) {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    	for _, volume := range volumes {
    		r.volumes[volume.Name] = volume
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1/types_swagger_doc_generated.go

    	"mountOptions":         "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.",
    	"allowVolumeExpansion": "allowVolumeExpansion shows whether the storage class allow volume expand.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:07:45 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    		rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("persistentvolumeclaims", "persistentvolumes").RuleOrDie(),
    
    		// TODO: add to the Node authorizer and restrict to endpoints referenced by pods or PVs bound to the node
    		// Needed for glusterfs volumes
    		rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("endpoints").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1/generated.proto

      optional string reclaimPolicy = 4;
    
      // mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class.
      // e.g. ["ro", "soft"]. Not validated -
      // mount of the PVs will simply fail if one is invalid.
      // +optional
      // +listType=atomic
      repeated string mountOptions = 5;
    
      // allowVolumeExpansion shows whether the storage class allow volume expand.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top