Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for volumeSpecName (0.23 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	for _, volume := range podVolumes {
    		if rc.actualStateOfWorld.VolumeExistsWithSpecName(volume.podName, volume.volumeSpecName) {
    			klog.V(4).InfoS("Volume exists in actual state, skip cleaning up mounts", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName)
    			// There is nothing to reconstruct
    			continue
    		}
    		reconstructedVolume, err := rc.reconstructVolume(volume)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    type podVolume struct {
    	podName        volumetypes.UniquePodName
    	volumeSpecName string
    	volumePath     string
    	pluginName     string
    	volumeMode     v1.PersistentVolumeMode
    }
    
    func (p podVolume) MarshalLog() interface{} {
    	return struct {
    		PodName        string `json:"podName"`
    		VolumeSpecName string `json:"volumeSpecName"`
    		VolumePath     string `json:"volumePath"`
    		PluginName     string `json:"pluginName"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    	detailedStr := fmt.Sprintf("(UniqueName: %q) from node %q", volume.VolumeName, volume.NodeName)
    	volumeSpecName := "nil"
    	if volume.VolumeSpec != nil {
    		volumeSpecName = volume.VolumeSpec.Name()
    	}
    	return generateVolumeMsgDetailed(prefixMsg, suffixMsg, volumeSpecName, detailedStr)
    }
    
    // GenerateMsg returns simple and detailed msgs for volumes to attach
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// Used to generate the volume plugin object, and passed to plugin methods.
    	// In particular, the Unmount method uses spec.Name() as the volumeSpecName
    	// in the mount path:
    	// /var/lib/kubelet/pods/{podUID}/volumes/{escapeQualifiedPluginName}/{volumeSpecName}/
    	spec *volume.Spec
    
    	// pluginName is the Unescaped Qualified name of the volume plugin used to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			}
    
    			volumesFailedReconstruction := sets.New[string]()
    			for _, vol := range rcInstance.volumesFailedReconstruction {
    				volumesFailedReconstruction.Insert(vol.volumeSpecName)
    			}
    			if !reflect.DeepEqual(sets.List(volumesFailedReconstruction), tc.expectedVolumesFailedReconstruction) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    			dswp.desiredStateOfWorld.AddErrorToPod(uniquePodName, err.Error())
    			allVolumesAdded = false
    		} else {
    			klog.V(4).InfoS("Added volume to desired state", "pod", klog.KObj(pod), "volumeName", podVolume.Name, "volumeSpecName", volumeSpec.Name())
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	return podExists
    }
    
    func (dsw *desiredStateOfWorld) VolumeExistsWithSpecName(podName types.UniquePodName, volumeSpecName string) bool {
    	dsw.RLock()
    	defer dsw.RUnlock()
    	for _, volumeObj := range dsw.volumesToMount {
    		if podObj, podExists := volumeObj.podsToMount[podName]; podExists {
    			if podObj.volumeSpec.Name() == volumeSpecName {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/util/util.go

    				pod.Namespace,
    				claimName,
    				err)
    		}
    
    		logger.V(10).Info("Extracted volumeSpec from bound PV and PVC", "PVC", klog.KRef(pod.Namespace, claimName), "pvcUID", pvcUID, "PV", klog.KRef("", pvName), "volumeSpecName", volumeSpec.Name())
    
    		return volumeSpec, nil
    	}
    
    	// Do not return the original volume object, since it's from the shared
    	// informer it may be mutated by another consumer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top