Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for PersistentVolumeClaims (0.26 sec)

  1. 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)
  2. pkg/controller/volume/persistentvolume/pv_controller.go

    				obj, err = ctrl.claimLister.PersistentVolumeClaims(volume.Spec.ClaimRef.Namespace).Get(volume.Spec.ClaimRef.Name)
    				if err != nil && !apierrors.IsNotFound(err) {
    					return err
    				}
    				found = !apierrors.IsNotFound(err)
    				if !found {
    					obj, err = ctrl.kubeClient.CoreV1().PersistentVolumeClaims(volume.Spec.ClaimRef.Namespace).Get(ctx, volume.Spec.ClaimRef.Name, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Error("Failed to scale statefulset to 5 replicas")
    	}
    	selector, err := metav1.LabelSelectorAsSelector(set.Spec.Selector)
    	if err != nil {
    		t.Error(err)
    	}
    	claims, err := om.claimsLister.PersistentVolumeClaims(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    	pods, err := om.podsLister.Pods(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    	for _, pod := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    			pvcs: []*v1.PersistentVolumeClaim{
    				makePVC("pvc-a", immediateSC.Name).PersistentVolumeClaim,
    			},
    			wantPreFilterStatus: framework.NewStatus(framework.UnschedulableAndUnresolvable, "pod has unbound immediate PersistentVolumeClaims"),
    			wantFilterStatus: []*framework.Status{
    				nil,
    			},
    			wantScores: []int64{
    				0,
    			},
    		},
    		{
    			name: "unbound claims no matches",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1alpha1/generated.proto

    }
    
    // VolumeAttributesClass represents a specification of mutable volume attributes
    // defined by the CSI driver. The class can be specified during dynamic provisioning
    // of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
    message VolumeAttributesClass {
      // Standard object's metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. plugin/pkg/admission/noderestriction/admission.go

    	}
    	return nil
    }
    
    var (
    	podResource           = api.Resource("pods")
    	nodeResource          = api.Resource("nodes")
    	pvcResource           = api.Resource("persistentvolumeclaims")
    	svcacctResource       = api.Resource("serviceaccounts")
    	leaseResource         = coordapi.Resource("leases")
    	csiNodeResource       = storage.Resource("csinodes")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top