Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for PVCs (0.04 sec)

  1. pkg/controller/volume/ephemeral/controller.go

    	"k8s.io/kubernetes/pkg/controller/volume/common"
    	ephemeralvolumemetrics "k8s.io/kubernetes/pkg/controller/volume/ephemeral/metrics"
    	"k8s.io/kubernetes/pkg/controller/volume/events"
    )
    
    // Controller creates PVCs for ephemeral inline volumes in a pod spec.
    type Controller interface {
    	Run(ctx context.Context, workers int)
    }
    
    type ephemeralController struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/features/kube_features.go

    	// of code conflicts because changes are more likely to be scattered
    	// across the file.
    
    	// owner: @ttakahashi21 @mkimuram
    	// kep: https://kep.k8s.io/3294
    	// alpha: v1.26
    	//
    	// Enable usage of Provision of PVCs from snapshots in other namespaces
    	CrossNamespaceVolumeDataSource featuregate.Feature = "CrossNamespaceVolumeDataSource"
    
    	// owner: @thockin
    	// deprecated: v1.29
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils.go

    		if matchesRef(&ownerRef, set, controllerKind) {
    			if ownerRef.UID != set.GetUID() {
    				// A UID mismatch means that pods were incorrectly orphaned. Treating this as an unexpected
    				// controller means we won't touch the PVCs (eg, leave it to the garbage collector to clean
    				// up if appropriate).
    				return true
    			}
    			continue // This is us.
    		}
    
    		if matchesRef(&ownerRef, pod, podKind) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	logger := klog.FromContext(ctx)
    	logger.V(4).Info("Resyncing PV controller")
    
    	pvcs, err := ctrl.claimLister.List(labels.NewSelector())
    	if err != nil {
    		logger.Info("Cannot list claims", "err", err)
    		return
    	}
    	for _, pvc := range pvcs {
    		ctrl.enqueueWork(ctx, ctrl.claimQueue, pvc)
    	}
    
    	pvs, err := ctrl.volumeLister.List(labels.NewSelector())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/attach_detach_controller.go

    		nodesSynced: nodeInformer.Informer().HasSynced,
    		pvcQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvcs"},
    		),
    	}
    
    	adc.csiNodeLister = csiNodeInformer.Lister()
    	adc.csiNodeSynced = csiNodeInformer.Informer().HasSynced
    
    	adc.csiDriverLister = csiDriverInformer.Lister()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	fts := feature.Features{}
    	tests := []struct {
    		name               string
    		registerPlugins    []tf.RegisterPluginFunc
    		extenders          []tf.FakeExtender
    		nodes              []string
    		pvcs               []v1.PersistentVolumeClaim
    		pod                *v1.Pod
    		pods               []*v1.Pod
    		wantNodes          sets.Set[string]
    		wantEvaluatedNodes *int32
    		wErr               error
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_test.go

    			}
    		}
    
    		// First sync to manage orphaned pod, then set replicas.
    		ssc.enqueueStatefulSet(set)
    		fakeWorker(ssc)
    		*set.Spec.Replicas = 0 // Put an ownerRef for all scale-down deleted PVCs.
    		ssc.enqueueStatefulSet(set)
    		fakeWorker(ssc)
    
    		hasNamedOwnerRef := func(claim *v1.PersistentVolumeClaim, name string) bool {
    			for _, ownerRef := range claim.GetOwnerReferences() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - The scheduler now retries Pods, which are failed by `nodevolumelimits` due to not found PVCs, only when new PVCs are added. ([#121952](https://github.com/kubernetes/kubernetes/pull/121952), [@sanposhiho](https://github.com/sanposhiho))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  9. pkg/volume/util/operationexecutor/operation_generator.go

    			newSize = updatedSize
    			// k8s doesn't have transactions, we can't guarantee that after updating PV - updating PVC will be
    			// successful, that is why all PVCs for which pvc.Spec.Size > pvc.Status.Size must be reprocessed
    			// until they reflect user requested size in pvc.Status.Size
    			_, updateErr := util.UpdatePVSize(pv, newSize, og.kubeClient)
    			if updateErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller.go

    // ==================================================================
    
    // Design:
    //
    // The fundamental key to this design is the bi-directional "pointer" between
    // PersistentVolumes (PVs) and PersistentVolumeClaims (PVCs), which is
    // represented here as pvc.Spec.VolumeName and pv.Spec.ClaimRef. The bi-
    // directionality is complicated to manage in a transactionless system, but
    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