Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 657 for volName (0.12 sec)

  1. pkg/volume/csi/csi_mounter_test.go

    	pkgcorev1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	pkgstoragev1 "k8s.io/kubernetes/pkg/apis/storage/v1"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    			if podMeta != nil && podMeta.Name != "" && volName != "" {
    				pvcName := podMeta.Name + "-" + volName
    				for _, msg := range ValidatePersistentVolumeName(pvcName, false) {
    					allErrs = append(allErrs, field.Invalid(fldPath.Child("name"), volName, fmt.Sprintf("PVC name %q: %v", pvcName, msg)))
    				}
    			}
    		}
    	}
    
    	if numVolumes == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    			klog.ErrorS(nil, "Block volume cannot be satisfied for container, because the volume is missing or the volume mapper is nil", "containerName", container.Name, "device", device)
    			return nil, fmt.Errorf("cannot find volume %q to pass into container %q", device.Name, container.Name)
    		}
    		// Get a symbolic link associated to a block device under pod device path
    		dirPath, volName := vol.BlockVolumeMapper.GetPodDeviceMapPath()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/volume/volume.go

    limitations under the License.
    */
    
    package volume
    
    import (
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Volume represents a directory used by pods or hosts on a node. All method
    // implementations of methods in the volume interface must be idempotent.
    type Volume interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. cluster/addons/volumesnapshots/volume-snapshot-controller/volume-snapshot-controller-deployment.yaml

    ---
    kind: StatefulSet
    apiVersion: apps/v1
    metadata:
      name: volume-snapshot-controller
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      serviceName: "volume-snapshot-controller"
      replicas: 1
      selector:
        matchLabels:
          app: volume-snapshot-controller
      template:
        metadata:
          labels:
            app: volume-snapshot-controller
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 07:47:15 UTC 2024
    - 758 bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_executor.go

    	// VolumeSpec is a volume spec containing the specification for the volume
    	// that should be mounted. Used to create NewMounter. Used to generate
    	// InnerVolumeSpecName.
    	VolumeSpec *volume.Spec
    
    	// outerVolumeSpecName is the podSpec.Volume[x].Name of the volume. If the
    	// volume was referenced through a persistent volume claim, this contains
    	// the podSpec.Volume[x].Name of the persistent volume claim.
    	OuterVolumeSpecName string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller_test.go

    			go func(claim *v1.PersistentVolumeClaim) {
    				fakeClaimWatch.Add(claim)
    			}(claim)
    		}
    		for _, volume := range test.initialVolumes {
    			volume = volume.DeepCopy()
    			reactor.AddVolume(volume)
    			go func(volume *v1.PersistentVolume) {
    				fakeVolumeWatch.Add(volume)
    			}(volume)
    		}
    
    		// Start the controller
    		ctx, cancel := context.WithCancel(context.TODO())
    		informers.Start(ctx.Done())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    		return nil, fmt.Errorf("could not find block volume plugin %q (spec.Name: %q) pod %q (UID: %q)", volume.pluginName, volume.volumeSpecName, volume.podName, pod.UID)
    	}
    
    	reconstructed, err := rc.operationExecutor.ReconstructVolumeOperation(
    		volume.volumeMode,
    		plugin,
    		mapperPlugin,
    		pod.UID,
    		volume.podName,
    		volume.volumeSpecName,
    		volume.volumePath,
    		volume.pluginName)
    	if err != nil {
    		return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller.go

    			// volume.
    			if volume.Status.Phase != v1.VolumeReleased && volume.Status.Phase != v1.VolumeFailed {
    				// Also, log this only once:
    				logger.V(2).Info("Volume is released and reclaim policy will be executed", "volumeName", volume.Name, "reclaimPolicy", volume.Spec.PersistentVolumeReclaimPolicy)
    				if volume, err = ctrl.updateVolumePhase(ctx, volume, v1.VolumeReleased, ""); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top