Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for pvs (0.1 sec)

  1. pkg/scheduler/testing/framework/fake_listers.go

    // Get returns a fake PV object in the fake PVs by PV ID.
    func (pvs PersistentVolumeLister) Get(pvID string) (*v1.PersistentVolume, error) {
    	for _, pv := range pvs {
    		if pv.Name == pvID {
    			return &pv, nil
    		}
    	}
    	return nil, errors.NewNotFound(v1.Resource("persistentvolumes"), pvID)
    }
    
    // List lists all PersistentVolumes in the indexer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    		// We bind PVCs with PVs, so any changes may make the pods schedulable.
    		{Event: framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add | framework.Update}},
    		{Event: framework.ClusterEvent{Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update}},
    		// Pods may fail to find available PVs because the node labels do not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.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. callbacks/preload.go

    		if len(foreignValues) == 0 {
    			return nil
    		}
    	}
    
    	// nested preload
    	for p, pvs := range preloads {
    		tx = tx.Preload(p, pvs...)
    	}
    
    	reflectResults := rel.FieldSchema.MakeSlice().Elem()
    	column, values := schema.ToQueryValues(clause.CurrentTable, relForeignKeys, foreignValues)
    
    	if len(values) != 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. 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)
  10. pkg/api/v1/persistentvolume/util_test.go

    	// Stub containing all possible secret references in a PV.
    	// The names of the referenced secrets match struct paths detected by reflection.
    	secretNamespace := "Spec.PersistentVolumeSource.AzureFile.SecretNamespace"
    	pvs := []*corev1.PersistentVolume{
    		{Spec: corev1.PersistentVolumeSpec{
    			ClaimRef: &corev1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"},
    			PersistentVolumeSource: corev1.PersistentVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top