Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PersistentVolumeClaims (0.37 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	podInformer := informerFactory.Core().V1().Pods()
    	nodeInformer := informerFactory.Core().V1().Nodes()
    	csiNodeInformer := informerFactory.Storage().V1().CSINodes()
    	pvcInformer := informerFactory.Core().V1().PersistentVolumeClaims()
    	classInformer := informerFactory.Storage().V1().StorageClasses()
    	csiDriverInformer := informerFactory.Storage().V1().CSIDrivers()
    	csiStorageCapacityInformer := informerFactory.Storage().V1().CSIStorageCapacities()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K 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. plugin/pkg/admission/resourcequota/admission_test.go

    		},
    	}
    
    	err = handler.Validate(context.TODO(), admission.NewAttributesRecord(newPVC, oldPVC, api.Kind("PersistentVolumeClaim").WithVersion("version"), newPVC.Namespace, newPVC.Name, corev1.Resource("persistentvolumeclaims").WithVersion("version"), "", admission.Update, &metav1.UpdateOptions{}, false, nil), nil)
    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if len(kubeClient.Actions()) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	Terminating string = "terminating"
    	Other       string = "other"
    )
    
    func pluginPVOmittingClient(dswp *desiredStateOfWorldPopulator) {
    	fakeClient := &fake.Clientset{}
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return false, nil, nil
    	})
    	fakeClient.AddReactor("get", "persistentvolumes", func(action core.Action) (bool, runtime.Object, error) {
    		return false, nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/types.go

    	// PersistentVolumeClaimRetentionPolicy and specifies that
    	// PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates
    	// will not be deleted.
    	RetainPersistentVolumeClaimRetentionPolicyType PersistentVolumeClaimRetentionPolicyType = "Retain"
    	// RetentionPersistentVolumeClaimRetentionPolicyType specifies that
    	// PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    				},
    			}, nil
    		})
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return true, pvc, nil
    	})
    	fakeClient.AddReactor("get", "persistentvolumes", func(action core.Action) (bool, runtime.Object, error) {
    		return true, pv, nil
    	})
    	fakeClient.AddReactor("patch", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// PersistentVolumeClaimRetentionPolicy and specifies that
    	// PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates
    	// will not be deleted.
    	RetainPersistentVolumeClaimRetentionPolicyType PersistentVolumeClaimRetentionPolicyType = "Retain"
    	// RetentionPersistentVolumeClaimRetentionPolicyType specifies that
    	// PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  8. plugin/pkg/admission/noderestriction/admission_test.go

    			attributes: admission.NewAttributesRecord(pvcpod, nil, podKind, pvcpod.Namespace, pvcpod.Name, podResource, "", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "reference persistentvolumeclaims",
    		},
    
    		// My node object
    		{
    			name:       "allow create of my node",
    			podsGetter: noExistingPods,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
Back to top