Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for PersistentVolumeClaims (0.45 sec)

  1. pkg/controller/statefulset/stateful_pod_control_test.go

    	control := NewStatefulPodControl(fakeClient, nil, claimLister, recorder)
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, apierrors.NewNotFound(action.GetResource().GroupResource(), action.GetResource().Resource)
    	})
    	fakeClient.AddReactor("create", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		create := action.(core.CreateAction)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

          rbac.authorization.k8s.io/aggregate-to-view: "true"
        name: system:aggregate-to-view
      rules:
      - apiGroups:
        - ""
        resources:
        - configmaps
        - endpoints
        - persistentvolumeclaims
        - persistentvolumeclaims/status
        - pods
        - replicationcontrollers
        - replicationcontrollers/scale
        - serviceaccounts
        - services
        - services/status
        verbs:
        - get
        - list
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-roles.yaml

        verbs:
        - get
        - list
        - patch
        - update
        - watch
      - apiGroups:
        - ""
        resources:
        - persistentvolumeclaims/status
        verbs:
        - patch
        - update
      - apiGroups:
        - ""
        resources:
        - persistentvolumeclaims
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - storage.k8s.io
        resources:
        - storageclasses
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    			rbacv1helpers.NewRule("update", "patch").Groups(legacyGroup).Resources("persistentvolumeclaims/status").RuleOrDie(),
    			rbacv1helpers.NewRule("get", "list", "watch").Groups(legacyGroup).Resources("persistentvolumeclaims").RuleOrDie(),
    			// glusterfs
    			rbacv1helpers.NewRule("get", "list", "watch").Groups(storageGroup).Resources("storageclasses").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_pod_control.go

    	_, err := om.client.CoreV1().PersistentVolumeClaims(claim.Namespace).Create(context.TODO(), claim, metav1.CreateOptions{})
    	return err
    }
    
    func (om *realStatefulPodControlObjectManager) GetClaim(namespace, claimName string) (*v1.PersistentVolumeClaim, error) {
    	return om.claimLister.PersistentVolumeClaims(namespace).Get(claimName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    }
    
    // PreFilter invoked at the prefilter extension point
    //
    // # It finds the topology of the PersistentVolumes corresponding to the volumes a pod requests
    //
    // Currently, this is only supported with PersistentVolumeClaims,
    // and only looks for the bound PersistentVolume.
    func (pl *VolumeZone) PreFilter(ctx context.Context, cs *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    		return false, nil, nil
    	}
    }
    
    func TestPVCProtectionController(t *testing.T) {
    	pvcGVR := schema.GroupVersionResource{
    		Group:    v1.GroupName,
    		Version:  "v1",
    		Resource: "persistentvolumeclaims",
    	}
    	podGVR := schema.GroupVersionResource{
    		Group:    v1.GroupName,
    		Version:  "v1",
    		Resource: "pods",
    	}
    	podGVK := schema.GroupVersionKind{
    		Group:   v1.GroupName,
    		Version: "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/framework/fake_listers.go

    	return nil, fmt.Errorf("not implemented")
    }
    
    // PersistentVolumeClaims returns a fake PersistentVolumeClaimLister object.
    func (pvcs PersistentVolumeClaimLister) PersistentVolumeClaims(namespace string) corelisters.PersistentVolumeClaimNamespaceLister {
    	ps := make([]*v1.PersistentVolumeClaim, len(pvcs))
    	for i := range pvcs {
    		ps[i] = &pvcs[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top