Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for PersistentVolumeClaims (0.26 sec)

  1. staging/src/k8s.io/api/storage/v1/types.go

    	Items []StorageClass `json:"items" protobuf:"bytes,2,rep,name=items"`
    }
    
    // VolumeBindingMode indicates how PersistentVolumeClaims should be bound.
    // +enum
    type VolumeBindingMode string
    
    const (
    	// VolumeBindingImmediate indicates that PersistentVolumeClaims should be
    	// immediately provisioned and bound.  This is the default mode.
    	VolumeBindingImmediate VolumeBindingMode = "Immediate"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	modified := updateMigrationAnnotations(logger, ctrl.csiMigratedPluginManager, ctrl.translator, claimClone.Annotations, true)
    	if !modified {
    		return claimClone, nil
    	}
    	newClaim, err := ctrl.kubeClient.CoreV1().PersistentVolumeClaims(claimClone.Namespace).Update(ctx, claimClone, metav1.UpdateOptions{})
    	if err != nil {
    		return nil, fmt.Errorf("persistent Volume Controller can't anneal migration annotations: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storage/v1beta1/types.go

    }
    
    // VolumeBindingMode indicates how PersistentVolumeClaims should be bound.
    type VolumeBindingMode string
    
    const (
    	// VolumeBindingImmediate indicates that PersistentVolumeClaims should be
    	// immediately provisioned and bound.  This is the default mode.
    	VolumeBindingImmediate VolumeBindingMode = "Immediate"
    
    	// VolumeBindingWaitForFirstConsumer indicates that PersistentVolumeClaims
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 33.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    				return err
    			}
    
    			continue
    		}
    
    		if pvcName == "" {
    			return fmt.Errorf("PersistentVolumeClaim had no name")
    		}
    
    		pvc, err := pl.pvcLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName)
    
    		if err != nil {
    			if newPod {
    				// The PVC is required to proceed with
    				// scheduling of a new pod because it cannot
    				// run without it. Bail out immediately.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils.go

    			return refs
    		}
    	}
    
    	return append(refs, *metav1.NewControllerRef(owner, gvk))
    }
    
    // getPersistentVolumeClaims gets a map of PersistentVolumeClaims to their template names, as defined in set. The
    // returned PersistentVolumeClaims are each constructed with a the name specific to the Pod. This name is determined
    // by getPersistentVolumeClaimName.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/metrics/metrics.go

    type pvAndPVCCountCollector struct {
    	metrics.BaseStableCollector
    
    	// Cache for accessing information about PersistentVolumes.
    	pvLister PVLister
    	// Cache for accessing information about PersistentVolumeClaims.
    	pvcLister PVCLister
    	// Volume plugin manager
    	pluginMgr *volume.VolumePluginMgr
    }
    
    // Check if our collector implements necessary collector interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 13:09:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    	informerFactory informers.SharedInformerFactory,
    	fts feature.Features,
    ) framework.Plugin {
    	pvLister := informerFactory.Core().V1().PersistentVolumes().Lister()
    	pvcLister := informerFactory.Core().V1().PersistentVolumeClaims().Lister()
    	csiNodesLister := informerFactory.Storage().V1().CSINodes().Lister()
    	scLister := informerFactory.Storage().V1().StorageClasses().Lister()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    			driverNames:      []string{ebsCSIDriverName},
    			test:             "ephemeral volume missing",
    			wantStatus:       framework.NewStatus(framework.UnschedulableAndUnresolvable, `looking up PVC test/abc-xyz: persistentvolumeclaims "abc-xyz" not found`),
    		},
    		{
    			newPod:           ephemeralVolumePod,
    			filterName:       "csi",
    			ephemeralEnabled: true,
    			extraClaims:      []v1.PersistentVolumeClaim{*conflictingClaim},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed pvc",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "persistentvolumeclaims", Name: "pvc0-pod0-node0", Namespace: "ns0"},
    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed resource claim",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	adcObj, err := NewAttachDetachController(
    		tCtx,
    		fakeKubeClient,
    		informerFactory.Core().V1().Pods(),
    		informerFactory.Core().V1().Nodes(),
    		informerFactory.Core().V1().PersistentVolumeClaims(),
    		informerFactory.Core().V1().PersistentVolumes(),
    		informerFactory.Storage().V1().CSINodes(),
    		informerFactory.Storage().V1().CSIDrivers(),
    		informerFactory.Storage().V1().VolumeAttachments(),
    		plugins,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top