Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for PersistentVolumeClaims (0.39 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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. cmd/kube-controller-manager/app/core.go

    		VolumePlugins:             plugins,
    		VolumeInformer:            controllerContext.InformerFactory.Core().V1().PersistentVolumes(),
    		ClaimInformer:             controllerContext.InformerFactory.Core().V1().PersistentVolumeClaims(),
    		ClassInformer:             controllerContext.InformerFactory.Storage().V1().StorageClasses(),
    		PodInformer:               controllerContext.InformerFactory.Core().V1().Pods(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_generator_test.go

    	fakeKubeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return true, pvc, nil
    	})
    	fakeKubeClient.AddReactor("get", "persistentvolumes", func(action core.Action) (bool, runtime.Object, error) {
    		return true, pv, nil
    	})
    	fakeKubeClient.AddReactor("patch", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top