Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdatePVSize (0.09 sec)

  1. pkg/volume/util/resize_util.go

    )
    
    type resizeProcessStatus struct {
    	condition v1.PersistentVolumeClaimCondition
    	processed bool
    }
    
    // UpdatePVSize updates just pv size after cloudprovider resizing is successful
    func UpdatePVSize(
    	pv *v1.PersistentVolume,
    	newSize resource.Quantity,
    	kubeClient clientset.Interface) (*v1.PersistentVolume, error) {
    	pvClone := pv.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    			// successful, that is why all PVCs for which pvc.Spec.Size > pvc.Status.Size must be reprocessed
    			// until they reflect user requested size in pvc.Status.Size
    			_, updateErr := util.UpdatePVSize(pv, newSize, og.kubeClient)
    			if updateErr != nil {
    				detailedErr := fmt.Errorf("error updating PV spec capacity for volume %q with : %v", util.GetPersistentVolumeClaimQualifiedName(pvc), updateErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top