Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,248 for volume2 (1.53 sec)

  1. staging/src/k8s.io/api/storage/v1beta1/generated.proto

      // When "true", the CSI driver must ensure that all volumes provided by this CSI
      // driver can be mounted separately with different `-o context` options. This is
      // typical for storage backends that provide volumes as filesystems on block
      // devices or as independent shared volumes.
      // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount
      // option when mounting a ReadWriteOncePod volume used in Pod that has
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    // PreFilter invoked at the prefilter extension point
    //
    // If the pod haven't those types of volumes, we'll skip the Filter phase
    func (pl *CSILimits) PreFilter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) {
    	volumes := pod.Spec.Volumes
    	for i := range volumes {
    		vol := &volumes[i]
    		if vol.PersistentVolumeClaim != nil || vol.Ephemeral != nil || pl.translator.IsInlineMigratable(vol) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	// resizing.
    	rc.mountOrAttachVolumes()
    
    	// Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume
    	// that is still needed, but it did not reach DSW yet.
    	if readyToUnmount {
    		// Ensure devices that should be detached/unmounted are detached/unmounted.
    		rc.unmountDetachDevices()
    
    		// Clean up any orphan volumes that failed reconstruction.
    		rc.cleanOrphanVolumes()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    	logger := klog.FromContext(ctx)
    	podPVTopologies := make([]pvTopology, 0)
    
    	for i := range pod.Spec.Volumes {
    		volume := pod.Spec.Volumes[i]
    		if volume.PersistentVolumeClaim == nil {
    			continue
    		}
    		pvcName := volume.PersistentVolumeClaim.ClaimName
    		if pvcName == "" {
    			return nil, framework.NewStatus(framework.UnschedulableAndUnresolvable, "PersistentVolumeClaim had no name")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/test_utils.go

    }
    
    func (pb podBuilder) withEmptyDirVolume() podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			EmptyDir: &v1.EmptyDirVolumeSource{},
    		},
    	})
    	return pb
    }
    
    func (pb podBuilder) withGenericEphemeralVolume(name string) podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		Name: name,
    		VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/index_test.go

    	return matchStorageCapacity(c.volumes[i], c.volumes[j])
    }
    
    func (c byCapacity) Swap(i, j int) {
    	c.volumes[i], c.volumes[j] = c.volumes[j], c.volumes[i]
    }
    
    func (c byCapacity) Len() int {
    	return len(c.volumes)
    }
    
    // matchStorageCapacity is a matchPredicate used to sort and find volumes
    func matchStorageCapacity(pvA, pvB *v1.PersistentVolume) bool {
    	aQty := pvA.Spec.Capacity[v1.ResourceStorage]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  7. pkg/volume/util/util_test.go

    			mountRefs: []string{
    				"/home/somewhere/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    			},
    			expected: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // DesiredStateOfWorldPopulator periodically loops through the list of active
    // pods and ensures that each one exists in the desired state of the world cache
    // if it has volumes. It also verifies that the pods in the desired state of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/metrics/metrics.go

    	totalVolumesDesc = metrics.NewDesc(
    		volumeManagerTotalVolumes,
    		"Number of volumes in Volume Manager",
    		[]string{"plugin_name", "state"},
    		nil,
    		metrics.ALPHA, "",
    	)
    
    	ReconstructVolumeOperationsTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Name:           reconstructVolumeOperationsTotal,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 06 16:48:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. tests/integration/iop-externalistiod-primary-integration-test-defaults.yaml

            - kind: Deployment
              name: istiod
              patches:
              - path: spec.template.spec.volumes[100]
                value: |-
                  name: config-volume
                  configMap:
                    name: istio
              - path: spec.template.spec.volumes[100]
                value: |-
                  name: inject-volume
                  configMap:
                    name: istio-sidecar-injector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 05 22:06:57 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top