Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 320 for persistentVolumeClaim (0.49 sec)

  1. 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)
  2. pkg/controller/volume/protectionutil/utils_test.go

    	defaultPVCName = "pvc1"
    	defaultPVName  = "pv1"
    )
    
    type TestCase struct {
    	name      string
    	obj       metav1.Object
    	finalizer string
    	result    bool
    }
    
    func pvc() *v1.PersistentVolumeClaim {
    	return &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      defaultPVCName,
    			Namespace: defaultNS,
    		},
    	}
    }
    
    func pv() *v1.PersistentVolume {
    	return &v1.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 17 14:24:42 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/core/helper/helpers.go

    		}
    	}
    	return false
    }
    
    func ClaimContainsAllocatedResources(pvc *core.PersistentVolumeClaim) bool {
    	if pvc == nil {
    		return false
    	}
    
    	if pvc.Status.AllocatedResources != nil {
    		return true
    	}
    	return false
    }
    
    func ClaimContainsAllocatedResourceStatus(pvc *core.PersistentVolumeClaim) bool {
    	if pvc == nil {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    		if id, ok := pl.filter.FilterVolume(vol); ok {
    			filteredVolumes.Insert(id)
    			continue
    		}
    
    		pvcName := ""
    		isEphemeral := false
    		switch {
    		case vol.PersistentVolumeClaim != nil:
    			pvcName = vol.PersistentVolumeClaim.ClaimName
    		case vol.Ephemeral != nil:
    			// Generic ephemeral inline volumes also use a PVC,
    			// just with a computed name and certain ownership.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/user-volume.yaml.injected

            sidecar.istio.io/userVolume: '{"user-volume-1":{"persistentVolumeClaim":{"claimName":"pvc-claim"}},"user-volume-2":{"configMap":{"name":"configmap-volume","items":[{"key":"some-key","path":"/some-path"}]}}}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    			Namespace: "metric-test",
    		},
    		Spec: v1.PodSpec{
    			NodeName: "metric-test-host",
    			Volumes: []v1.Volume{
    				{
    					Name: "metric-test-volume-name",
    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: "metric-test-pvc",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1alpha1/generated.proto

      // new parameters, and the PersistentVolumeClaim should be updated to reference
      // the new VolumeAttributesClass.
      //
      // This field is required and must contain at least one key/value pair.
      // The keys cannot be empty, and the maximum number of parameters is 512, with
      // a cumulative max size of 256K. If the CSI driver rejects invalid parameters,
      // the target PersistentVolumeClaim will be set to an "Infeasible" state in the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/queue/events.go

    	PvcAdd = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add, Label: "PvcAdd"}
    	// PvcUpdate is the event when a persistent volume claim is updated in the cluster.
    	PvcUpdate = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Update, Label: "PvcUpdate"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/fake_binder.go

    	return &PodVolumeClaims{}, nil
    }
    
    // GetEligibleNodes implements SchedulerVolumeBinder.GetEligibleNodes.
    func (b *FakeVolumeBinder) GetEligibleNodes(_ klog.Logger, boundClaims []*v1.PersistentVolumeClaim) (eligibleNodes sets.Set[string]) {
    	return nil
    }
    
    // FindPodVolumes implements SchedulerVolumeBinder.FindPodVolumes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 03:28:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top