Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for PersistentVolumeClaims (0.28 sec)

  1. 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)
  2. pkg/controller/volume/expand/expand_controller_test.go

    		pvcInformer := informerFactory.Core().V1().PersistentVolumeClaims()
    
    		pvc := test.pvc
    		if tc.pv != nil {
    			informerFactory.Core().V1().PersistentVolumes().Informer().GetIndexer().Add(tc.pv)
    		}
    
    		if tc.pvc != nil {
    			informerFactory.Core().V1().PersistentVolumeClaims().Informer().GetIndexer().Add(pvc)
    		}
    		allPlugins := []volume.VolumePlugin{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. operator/cmd/mesh/testdata/operator/output/operator-dump.json

                    "endpoints",
                    "events",
                    "namespaces",
                    "pods",
                    "pods/proxy",
                    "pods/portforward",
                    "persistentvolumeclaims",
                    "secrets",
                    "services",
                    "serviceaccounts",
                    "resourcequotas"
                ],
                "verbs": [
                    "*"
                ]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 01:35:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/ephemeral/controller_test.go

    				objects = append(objects, pvc)
    			}
    
    			fakeKubeClient := createTestClient(objects...)
    			if tc.expectedMetrics.numFailures > 0 {
    				fakeKubeClient.PrependReactor("create", "persistentvolumeclaims", func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) {
    					return true, nil, apierrors.NewConflict(action.GetResource().GroupResource(), "fake name", errors.New("fake conflict"))
    				})
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. manifests/charts/istio-operator/templates/clusterrole.yaml

      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/validation/validation_test.go

    		LimitedResources: []resourcequotaapi.LimitedResource{{
    			Resource:      "pods",
    			MatchContains: []string{"requests.cpu"},
    		}},
    	}, {
    		LimitedResources: []resourcequotaapi.LimitedResource{{
    			Resource:      "persistentvolumeclaims",
    			MatchContains: []string{"requests.storage"},
    		}},
    	},
    	}
    	for i := range successCases {
    		configuration := successCases[i]
    		if errs := ValidateConfiguration(&configuration); len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. api/discovery/api__v1.json

          "singularName": "",
          "verbs": [
            "get",
            "patch",
            "update"
          ]
        },
        {
          "kind": "PersistentVolumeClaim",
          "name": "persistentvolumeclaims",
          "namespaced": true,
          "shortNames": [
            "pvc"
          ],
          "singularName": "persistentvolumeclaim",
          "storageVersionHash": "QWTyNDq0dC4=",
          "verbs": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top