Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pvs (0.04 sec)

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

    		Spec: v1.PersistentVolumeSpec{
    			StorageClassName: storageClassName,
    		},
    	})
    	pvs := []*v1.PersistentVolume{}
    	for _, obj := range objs {
    		pv, ok := obj.(*v1.PersistentVolume)
    		if !ok {
    			c.logger.Error(&assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}, "ListPVs")
    			continue
    		}
    		pvs = append(pvs, pv)
    	}
    	return pvs
    }
    
    // PVCAssumeCache is a AssumeCache for PersistentVolumeClaim objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/index.go

    func (pvIndex *persistentVolumeOrderedIndex) findByClaim(claim *v1.PersistentVolumeClaim, delayBinding bool) (*v1.PersistentVolume, error) {
    	// PVs are indexed by their access modes to allow easier searching.  Each
    	// index is the string representation of a set of access modes. There is a
    	// finite number of possible sets and PVs will only be indexed in one of
    	// them (whichever index matches the PV's modes).
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. pkg/volume/util/finalizer.go

    package util
    
    const (
    	// PVCProtectionFinalizer is the name of finalizer on PVCs that have a running pod.
    	PVCProtectionFinalizer = "kubernetes.io/pvc-protection"
    
    	// PVProtectionFinalizer is the name of finalizer on PVs that are bound by PVCs
    	PVProtectionFinalizer = "kubernetes.io/pv-protection"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 10 21:24:35 UTC 2018
    - 874 bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph_populator.go

    	"k8s.io/client-go/tools/cache"
    )
    
    type graphPopulator struct {
    	graph *Graph
    }
    
    func AddGraphEventHandlers(
    	graph *Graph,
    	nodes corev1informers.NodeInformer,
    	pods corev1informers.PodInformer,
    	pvs corev1informers.PersistentVolumeInformer,
    	attachments storageinformers.VolumeAttachmentInformer,
    	slices resourcev1alpha2informers.ResourceSliceInformer,
    ) {
    	g := &graphPopulator{
    		graph: graph,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/controller/volume/pvprotection/pv_protection_controller.go

    	"k8s.io/kubernetes/pkg/controller/volume/protectionutil"
    	"k8s.io/kubernetes/pkg/util/slice"
    	volumeutil "k8s.io/kubernetes/pkg/volume/util"
    )
    
    // Controller is controller that removes PVProtectionFinalizer
    // from PVs that are not bound to PVCs.
    type Controller struct {
    	client clientset.Interface
    
    	pvLister       corelisters.PersistentVolumeLister
    	pvListerSynced cache.InformerSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/types_pluginargs.go

    	// Shape specifies the points defining the score function shape, which is
    	// used to score nodes based on the utilization of statically provisioned
    	// PVs. The utilization is calculated by dividing the total requested
    	// storage of the pod by the total capacity of feasible PVs on each node.
    	// Each point contains utilization (ranges from 0 to 100) and its
    	// associated score (ranges from 0 to 10). You can turn the priority by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go

    		Handler: admission.NewHandler(admission.Create),
    	}
    }
    
    var (
    	pvResource  = api.Resource("persistentvolumes")
    	pvcResource = api.Resource("persistentvolumeclaims")
    )
    
    // Admit sets finalizer on all PVCs(PVs). The finalizer is removed by
    // PVCProtectionController(PVProtectionController) when it's not referenced.
    //
    // This prevents users from deleting a PVC that's used by a running pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 02 21:13:50 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/well_known_labels.go

    	LabelTopologyRegion = "topology.kubernetes.io/region"
    
    	// These label have been deprecated since 1.17, but will be supported for
    	// the foreseeable future, to accommodate things like long-lived PVs that
    	// use them.  New users should prefer the "topology.kubernetes.io/*"
    	// equivalents.
    	LabelFailureDomainBetaZone   = "failure-domain.beta.kubernetes.io/zone"   // deprecated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top