Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for PersistentVolumeClaims (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/volume/attachdetach/util/util.go

    func getPVCFromCache(namespace string, name string, pvcLister corelisters.PersistentVolumeClaimLister) (*v1.PersistentVolumeClaim, error) {
    	pvc, err := pvcLister.PersistentVolumeClaims(namespace).Get(name)
    	if err != nil {
    		return nil, fmt.Errorf("failed to find PVC %s/%s in PVCInformer cache: %v", namespace, name, err)
    	}
    
    	if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. 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)
  9. plugin/pkg/auth/authorizer/node/node_authorizer.go

    }
    
    var (
    	configMapResource     = api.Resource("configmaps")
    	secretResource        = api.Resource("secrets")
    	resourceSlice         = resourceapi.Resource("resourceslices")
    	pvcResource           = api.Resource("persistentvolumeclaims")
    	pvResource            = api.Resource("persistentvolumes")
    	resourceClaimResource = resourceapi.Resource("resourceclaims")
    	vaResource            = storageapi.Resource("volumeattachments")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pkg/controller/volume/expand/expand_controller.go

    func (expc *expandController) syncHandler(ctx context.Context, key string) error {
    	namespace, name, err := cache.SplitMetaNamespaceKey(key)
    	if err != nil {
    		return err
    	}
    	pvc, err := expc.pvcLister.PersistentVolumeClaims(namespace).Get(name)
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	logger := klog.FromContext(ctx)
    	if err != nil {
    		logger.V(5).Info("Error getting PVC from informer", "pvcKey", key, "err", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top