Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for PersistentVolumeClaim (0.3 sec)

  1. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    	for i := range pod.Spec.Volumes {
    		volume := pod.Spec.Volumes[i]
    		if volume.PersistentVolumeClaim == nil {
    			continue
    		}
    		pvcName := volume.PersistentVolumeClaim.ClaimName
    		if pvcName == "" {
    			return nil, framework.NewStatus(framework.UnschedulableAndUnresolvable, "PersistentVolumeClaim had no name")
    		}
    		pvc, err := pl.pvcLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    }
    
    func (s *preFilterState) conflictingPVCRefCountForPod(podInfo *framework.PodInfo) int {
    	conflicts := 0
    	for _, volume := range podInfo.Pod.Spec.Volumes {
    		if volume.PersistentVolumeClaim == nil {
    			continue
    		}
    		if s.readWriteOncePodPVCs.Has(volume.PersistentVolumeClaim.ClaimName) {
    			conflicts += 1
    		}
    	}
    	return conflicts
    }
    
    // Clone the prefilter state.
    func (s *preFilterState) Clone() framework.StateData {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. pkg/controller/volume/expand/expand_controller.go

    		AddFunc: expc.enqueuePVC,
    		UpdateFunc: func(old, new interface{}) {
    			oldPVC, ok := old.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    
    			oldReq := oldPVC.Spec.Resources.Requests[v1.ResourceStorage]
    			oldCap := oldPVC.Status.Capacity[v1.ResourceStorage]
    			newPVC, ok := new.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    			newReq := newPVC.Spec.Resources.Requests[v1.ResourceStorage]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. helm/minio/README.md

    ```bash
    helm install --name my-release -f values.yaml minio/minio
    ```
    
    ### Persistence
    
    This chart provisions a PersistentVolumeClaim and mounts corresponding persistent volume to default location `/export`. You'll need physical storage available in the Kubernetes cluster for this to work. If you'd rather use `emptyDir`, disable PersistentVolumeClaim by:
    
    ```bash
    helm install --set persistence.enabled=false minio/minio
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    func makeClaim(name, version, namespace string) *v1.PersistentVolumeClaim {
    	return &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            name,
    			Namespace:       namespace,
    			ResourceVersion: version,
    			Annotations:     map[string]string{},
    		},
    	}
    }
    
    func verifyPVC(cache *PVCAssumeCache, pvcKey string, expectedPVC *v1.PersistentVolumeClaim) error {
    	pvc, err := cache.GetPVC(pvcKey)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/fakegenerator.go

    	return csitrans.New()
    }
    
    func (f *fakeOGCounter) GenerateExpandVolumeFunc(*v1.PersistentVolumeClaim, *v1.PersistentVolume) (volumetypes.GeneratedOperations, error) {
    	return f.recordFuncCall("GenerateExpandVolumeFunc"), nil
    }
    
    func (f *fakeOGCounter) GenerateExpandAndRecoverVolumeFunc(*v1.PersistentVolumeClaim, *v1.PersistentVolume, string) (volumetypes.GeneratedOperations, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    		}
    	}
    	return pvList
    }
    
    func makePVCsWithPV(num int) []*v1.PersistentVolumeClaim {
    	pvcList := make([]*v1.PersistentVolumeClaim, num, num)
    	for i := 0; i < len(pvcList); i++ {
    		pvcName := fmt.Sprintf("PVC_Stable_%d", i)
    		pvName := fmt.Sprintf("Vol_Stable_%d", i)
    		pvcList[i] = &v1.PersistentVolumeClaim{
    			ObjectMeta: metav1.ObjectMeta{Name: pvcName, Namespace: "default"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/util/util_test.go

    					Namespace: "default",
    				},
    				Spec: v1.PodSpec{
    					Volumes: []v1.Volume{
    						{
    							Name: nonMigratedVolume,
    							VolumeSource: v1.VolumeSource{
    								PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    									ClaimName: "non-migrated-pvc",
    									ReadOnly:  false,
    								},
    							},
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	<-ctx.Done()
    }
    
    func (ctrl *PersistentVolumeController) updateClaimMigrationAnnotations(ctx context.Context,
    	claim *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) {
    	// TODO: update[Claim|Volume]MigrationAnnotations can be optimized to not
    	// copy the claim/volume if no modifications are required. Though this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/types_test.go

    				},
    				NodeName: nodeName,
    				Overhead: v1.ResourceList{
    					v1.ResourceCPU: resource.MustParse("500m"),
    				},
    				Volumes: []v1.Volume{
    					{
    						VolumeSource: v1.VolumeSource{
    							PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    								ClaimName: "pvc-1",
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top