Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for PVCs (0.05 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    }
    
    // Filter invoked at the filter extension point.
    // It evaluates if a pod can fit due to the volumes it requests,
    // for both bound and unbound PVCs.
    //
    // For PVCs that are bound, then it checks that the corresponding PV's node affinity is
    // satisfied by the given node.
    //
    // For PVCs that are unbound, it tries to find available PVs that can satisfy the PVC requirements
    // and that the PV node affinity is satisfied by the given node.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_pod_control_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	fakeClient := &fake.Clientset{}
    	pvcs := getPersistentVolumeClaims(set, pod)
    	pvcIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    	for k := range pvcs {
    		pvc := pvcs[k]
    		pvcIndexer.Add(&pvc)
    	}
    	pvcLister := corelisters.NewPersistentVolumeClaimLister(pvcIndexer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    			limitSource:  "csinode-with-no-limit",
    		},
    		// should count pending PVCs
    		{
    			newPod:       csiEBSOneVolPod,
    			existingPods: []*v1.Pod{pendingVolumePod, csiEBSTwoVolPod},
    			filterName:   "csi",
    			maxVols:      2,
    			driverNames:  []string{ebsCSIDriverName},
    			test:         "count pending PVCs towards volume limit <= pods CSI volume",
    			limitSource:  "node",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/persistentvolume/resize/admission.go

    	// Growing Persistent volumes is only allowed for PVCs for which their StorageClass
    	// explicitly allows it
    	if !pvcr.allowResize(pvc, oldPvc) {
    		return admission.NewForbidden(a, fmt.Errorf("only dynamically provisioned pvc can be resized and "+
    			"the storageclass that provisions the pvc must support resize"))
    	}
    
    	return nil
    }
    
    // Growing Persistent volumes is only allowed for PVCs for which their StorageClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    	pluginFactory := func(ctx context.Context, plArgs runtime.Object, fh framework.Handle) (framework.Plugin, error) {
    		return New(ctx, plArgs, fh, feature.Features{})
    	}
    	snapshot := cache.NewSnapshot(pods, nodes)
    
    	objects := make([]runtime.Object, 0, len(pvcs))
    	for _, pvc := range pvcs {
    		objects = append(objects, pvc)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  6. pkg/api/persistentvolumeclaim/util.go

    // gate is disabled, dataSourceRef will be forced to empty, ensuring pre-1.22 behavior.
    // This should be called before NormalizeDataSources, so that data sources other than PVCs
    // and VolumeSnapshots can only be set through the dataSourceRef field and not the dataSource
    // field.
    func EnforceDataSourceBackwardsCompatibility(pvcSpec, oldPVCSpec *core.PersistentVolumeClaimSpec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/test_utils.go

    			PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    				ClaimName: pvcName,
    			},
    		},
    	})
    	return pb
    }
    
    func (pb podBuilder) withPVCSVolume(pvcs []*v1.PersistentVolumeClaim) podBuilder {
    	for i, pvc := range pvcs {
    		pb.withPVCVolume(pvc.Name, fmt.Sprintf("vol%v", i))
    	}
    	return pb
    }
    
    func (pb podBuilder) withEmptyDirVolume() podBuilder {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go

    	"whenDeleted": "whenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta1/generated.proto

    // StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs
    // created from the StatefulSet VolumeClaimTemplates.
    message StatefulSetPersistentVolumeClaimRetentionPolicy {
      // whenDeleted specifies what happens to PVCs created from StatefulSet
      // VolumeClaimTemplates when the StatefulSet is deleted. The default policy
      // of `Retain` causes PVCs to not be affected by StatefulSet deletion. The
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta1/generated.proto

    // StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs
    // created from the StatefulSet VolumeClaimTemplates.
    message StatefulSetPersistentVolumeClaimRetentionPolicy {
      // whenDeleted specifies what happens to PVCs created from StatefulSet
      // VolumeClaimTemplates when the StatefulSet is deleted. The default policy
      // of `Retain` causes PVCs to not be affected by StatefulSet deletion. The
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top