Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPersistentVolumeClaimClass (0.17 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    func (pl *CSILimits) getCSIDriverInfoFromSC(logger klog.Logger, csiNode *storagev1.CSINode, pvc *v1.PersistentVolumeClaim) (string, string) {
    	namespace := pvc.Namespace
    	pvcName := pvc.Name
    	scName := storagehelpers.GetPersistentVolumeClaimClass(pvc)
    
    	// If StorageClass is not set or not found, then PVC must be using immediate binding mode
    	// and hence it must be bound before scheduling. So it is safe to not count it.
    	if scName == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top