Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for PersistentVolumeClaims (0.38 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    				rbacv1helpers.NewRule(Read...).Groups(legacyGroup).Resources("pods", "replicationcontrollers", "replicationcontrollers/scale", "serviceaccounts",
    					"services", "services/status", "endpoints", "persistentvolumeclaims", "persistentvolumeclaims/status", "configmaps").RuleOrDie(),
    				rbacv1helpers.NewRule(Read...).Groups(legacyGroup).Resources("limitranges", "resourcequotas", "bindings", "events",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    	fakePodInformer.Informer().GetStore().Add(pod)
    
    	podName := util.GetUniquePodName(pod)
    
    	generatedVolumeName := "fake-plugin/" + pod.Spec.Volumes[0].RBD.RBDImage
    
    	pvcLister := fakeInformerFactory.Core().V1().PersistentVolumeClaims().Lister()
    	pvLister := fakeInformerFactory.Core().V1().PersistentVolumes().Lister()
    
    	csiTranslator := csitrans.New()
    	dswp := &desiredStateOfWorldPopulator{
    		loopSleepDuration:        100 * time.Millisecond,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/quota/v1/install/update_filter.go

    			oldService := oldObj.(*v1.Service)
    			newService := newObj.(*v1.Service)
    			return core.GetQuotaServiceType(oldService) != core.GetQuotaServiceType(newService)
    		case schema.GroupResource{Resource: "persistentvolumeclaims"}:
    			oldPVC := oldObj.(*v1.PersistentVolumeClaim)
    			newPVC := newObj.(*v1.PersistentVolumeClaim)
    			return core.RequiresQuotaReplenish(newPVC, oldPVC)
    		}
    
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 08 22:39:55 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. cluster/addons/volumesnapshots/volume-snapshot-controller/rbac-volume-snapshot-controller.yaml

        addonmanager.kubernetes.io/mode: Reconcile
    rules:
      - apiGroups: [""]
        resources: ["persistentvolumes"]
        verbs: ["get", "list", "watch"]
      - apiGroups: [""]
        resources: ["persistentvolumeclaims"]
        verbs: ["get", "list", "watch", "update"]
      - apiGroups: ["storage.k8s.io"]
        resources: ["storageclasses"]
        verbs: ["get", "list", "watch"]
      - apiGroups: [""]
        resources: ["events"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 14:09:47 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go

    	return &storageProtectionPlugin{
    		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.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 02 21:13:50 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. plugin/pkg/admission/storage/storageclass/setdefault/admission.go

    // 3.  Write to the PVClaim
    func (a *claimDefaulterPlugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	if attr.GetResource().GroupResource() != api.Resource("persistentvolumeclaims") {
    		return nil
    	}
    
    	if len(attr.GetSubresource()) != 0 {
    		return nil
    	}
    
    	pvc, ok := attr.GetObject().(*api.PersistentVolumeClaim)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:52:04 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished processing PVC", "PVC", klog.KRef(pvcNamespace, pvcName), "duration", time.Since(startTime))
    	}()
    
    	pvc, err := c.pvcLister.PersistentVolumeClaims(pvcNamespace).Get(pvcName)
    	if apierrors.IsNotFound(err) {
    		logger.V(4).Info("PVC not found, ignoring", "PVC", klog.KRef(pvcNamespace, pvcName))
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    			pvcName = ephemeral.VolumeClaimName(pod, &vol)
    			isEphemeral = true
    		default:
    			// Volume is not using a PVC, ignore
    			continue
    		}
    		hasPVC = true
    		pvc, err := pl.PVCLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName)
    		if err != nil {
    			// The error usually has already enough context ("persistentvolumeclaim "myclaim" not found"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/ephemeral/controller.go

    	logger.V(5).Info("Ephemeral: checking volume", "volumeName", vol.Name)
    	if vol.Ephemeral == nil {
    		return nil
    	}
    
    	pvcName := ephemeral.VolumeClaimName(pod, &vol)
    	pvc, err := ec.pvcLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName)
    	if err != nil && !errors.IsNotFound(err) {
    		return err
    	}
    	if pvc != nil {
    		if err := ephemeral.VolumeIsForPod(pod, pvc); err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pkg/controlplane/storageversionhashdata/data.go

    	"v1/events":                 "r2yiGXH7wu8=",
    	"v1/limitranges":            "EBKMFVe6cwo=",
    	"v1/namespaces":             "Q3oi5N2YM8M=",
    	"v1/nodes":                  "XwShjMxG9Fs=",
    	"v1/persistentvolumeclaims": "QWTyNDq0dC4=",
    	"v1/persistentvolumes":      "HN/zwEC+JgM=",
    	"v1/pods":                   "xPOwRZ+Yhw8=",
    	"v1/podtemplates":           "LIXB2x4IFpk=",
    	"v1/replicationcontrollers": "Jond2If31h0=",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top