Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 405 for volumeName (0.15 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go

    	StoragePool      *string                            `json:"storagePool,omitempty"`
    	StorageMode      *string                            `json:"storageMode,omitempty"`
    	VolumeName       *string                            `json:"volumeName,omitempty"`
    	FSType           *string                            `json:"fsType,omitempty"`
    	ReadOnly         *bool                              `json:"readOnly,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    		spec.PersistentVolume.Spec.RBD != nil {
    		volumeName = spec.PersistentVolume.Spec.RBD.RBDImage
    	} else if spec.Volume != nil && spec.Volume.CSI != nil {
    		volumeName = spec.Volume.CSI.Driver
    	}
    	if volumeName == "" {
    		volumeName = spec.Name()
    	}
    	return volumeName, nil
    }
    
    func (plugin *FakeVolumePlugin) CanSupport(spec *volume.Spec) bool {
    	if plugin.CanSupportFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/detacher.go

    // Detach is part of the volume.Detacher interface.
    func (d *flexVolumeDetacher) Detach(volumeName string, hostName types.NodeName) error {
    
    	call := d.plugin.NewDriverCall(detachCmd)
    	call.Append(volumeName)
    	call.Append(string(hostName))
    
    	_, err := call.Run()
    	if isCmdNotSupportedErr(err) {
    		return (*detacherDefaults)(d).Detach(volumeName, hostName)
    	}
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    					// So the uniqueVolumeName should remain the same after the attachability change
    					dswp.desiredStateOfWorld.MarkVolumeAttachability(volumeToMount.VolumeName, false)
    					klog.InfoS("Volume changes from attachable to non-attachable", "volumeName", volumeToMount.VolumeName)
    					continue
    				}
    			}
    
    			// Exclude known pods that we expect to be running
    			if !dswp.podStateProvider.ShouldPodRuntimeBeRemoved(pod.UID) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    		if !volumeAttachable {
    			logger.Info("Volume changes from attachable to non-attachable", "volumeName", volumeToAttach.VolumeName)
    			for _, scheduledPod := range volumeToAttach.ScheduledPods {
    				podUID := volutil.GetUniquePodName(scheduledPod)
    				dswp.desiredStateOfWorld.DeletePod(podUID, volumeToAttach.VolumeName, volumeToAttach.NodeName)
    				logger.V(4).Info("Removing podUID and volume on node from desired state of world"+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    		t.Run(hostMount.Name, func(t *testing.T) {
    			volumeName := hostMount.Name
    			if _, ok := mounts.volumes["component"][volumeName]; !ok {
    				t.Errorf("Expected to find volume %q", volumeName)
    			}
    			vol := mounts.volumes["component"][volumeName]
    			if vol.Name != volumeName {
    				t.Errorf("Expected volume name %q", volumeName)
    			}
    			if vol.HostPath.Path != hostMount.HostPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	// clean any possible unfinished provision start timestamp from cache
    	// Unit test [5-8] [5-9]
    	ctrl.operationTimestamps.Delete(claimKey)
    
    	volumeName := claim.Spec.VolumeName
    	if volumeName == "" {
    		logger.V(5).Info("deleteClaim: volume not bound", "PVC", klog.KObj(claim))
    		return
    	}
    
    	// sync the volume when its claim is deleted.  Explicitly sync'ing the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/util/util.go

    	}
    
    	if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" {
    		return nil, fmt.Errorf(
    			"PVC %s/%s has non-bound phase (%q) or empty pvc.Spec.VolumeName (%q)",
    			namespace,
    			name,
    			pvc.Status.Phase,
    			pvc.Spec.VolumeName)
    	}
    
    	return pvc, nil
    }
    
    // getPVSpecFromCache fetches the PV object with the given name from the shared
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    				podName := util.GetUniquePodName(pod)
    				volumeName, err := rcInstance.desiredStateOfWorld.AddPodToVolume(
    					podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* SELinuxContext */)
    				if err != nil {
    					t.Fatalf("Error adding volume %s to dsow: %v", volumeSpec.Name(), err)
    				}
    				rcInstance.actualStateOfWorld.MarkVolumeAsAttached(logger, volumeName, volumeSpec, nodeName, "")
    			}
    
    			// Act
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go

    	}
    
    	volumeName1 := corev1.UniqueVolumeName("volume-name-1")
    	volumeName2 := corev1.UniqueVolumeName("volume-name-2")
    	volumeSpec1 := controllervolumetesting.GetTestVolumeSpec(string(volumeName1), volumeName1)
    	volumeSpec2 := controllervolumetesting.GetTestVolumeSpec(string(volumeName2), volumeName2)
    
    	nodeName1 := types.NodeName("testnode-1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top