Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 988 for volName (0.42 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

    metadata:
      name: user-volume
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: user-volume
          tier: backend
          track: stable
      template:
        metadata:
          labels:
            app: user-volume
            tier: backend
            track: stable
          annotations:
            sidecar.istio.io/userVolumeMount: '{"user-volume-1":{"mountPath":"/mnt/volume-1","readOnly":true},"user-volume-2":{"mountPath":"/mnt/volume-2"}}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 18 21:43:45 UTC 2020
    - 874 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. 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)
  8. cluster/addons/volumesnapshots/volume-snapshot-controller/rbac-volume-snapshot-controller.yaml

    # RBAC file for the volume snapshot controller.
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: volume-snapshot-controller
      namespace: kube-system
      labels:
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    ---
    kind: ClusterRole
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      # rename if there are conflicts
      name: volume-snapshot-controller-runner
      namespace: kube-system
      labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 14:09:47 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top