Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 124 for PersistentVolumeClaims (0.24 sec)

  1. plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go

    	return &storageProtectionPlugin{
    		Handler: admission.NewHandler(admission.Create),
    	}
    }
    
    var (
    	pvResource  = api.Resource("persistentvolumes")
    	pvcResource = api.Resource("persistentvolumeclaims")
    )
    
    // Admit sets finalizer on all PVCs(PVs). The finalizer is removed by
    // PVCProtectionController(PVProtectionController) when it's not referenced.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 02 21:13:50 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. plugin/pkg/admission/storage/storageclass/setdefault/admission.go

    // 3.  Write to the PVClaim
    func (a *claimDefaulterPlugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	if attr.GetResource().GroupResource() != api.Resource("persistentvolumeclaims") {
    		return nil
    	}
    
    	if len(attr.GetSubresource()) != 0 {
    		return nil
    	}
    
    	pvc, ok := attr.GetObject().(*api.PersistentVolumeClaim)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:52:04 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/v1beta1/types.go

    	// Resource is the name of the resource this rule applies to.
    	// For example, if the administrator wants to limit consumption
    	// of a storage resource associated with persistent volume claims,
    	// the value would be "persistentvolumeclaims".
    	Resource string `json:"resource"`
    
    	// For each intercepted request, the quota system will evaluate
    	// its resource usage.  It will iterate through each resource consumed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/controller/volume/ephemeral/controller.go

    	logger.V(5).Info("Ephemeral: checking volume", "volumeName", vol.Name)
    	if vol.Ephemeral == nil {
    		return nil
    	}
    
    	pvcName := ephemeral.VolumeClaimName(pod, &vol)
    	pvc, err := ec.pvcLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName)
    	if err != nil && !errors.IsNotFound(err) {
    		return err
    	}
    	if pvc != nil {
    		if err := ephemeral.VolumeIsForPod(pod, pvc); err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pkg/controlplane/storageversionhashdata/data.go

    	"v1/events":                 "r2yiGXH7wu8=",
    	"v1/limitranges":            "EBKMFVe6cwo=",
    	"v1/namespaces":             "Q3oi5N2YM8M=",
    	"v1/nodes":                  "XwShjMxG9Fs=",
    	"v1/persistentvolumeclaims": "QWTyNDq0dC4=",
    	"v1/persistentvolumes":      "HN/zwEC+JgM=",
    	"v1/pods":                   "xPOwRZ+Yhw8=",
    	"v1/podtemplates":           "LIXB2x4IFpk=",
    	"v1/replicationcontrollers": "Jond2If31h0=",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/apps.go

    	go statefulset.NewStatefulSetController(
    		ctx,
    		controllerContext.InformerFactory.Core().V1().Pods(),
    		controllerContext.InformerFactory.Apps().V1().StatefulSets(),
    		controllerContext.InformerFactory.Core().V1().PersistentVolumeClaims(),
    		controllerContext.InformerFactory.Apps().V1().ControllerRevisions(),
    		controllerContext.ClientBuilder.ClientOrDie("statefulset-controller"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. plugin/pkg/admission/storage/persistentvolume/resize/admission.go

    	}
    	return nil
    }
    
    func (pvcr *persistentVolumeClaimResize) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	if a.GetResource().GroupResource() != api.Resource("persistentvolumeclaims") {
    		return nil
    	}
    
    	if len(a.GetSubresource()) != 0 {
    		return nil
    	}
    
    	pvc, ok := a.GetObject().(*api.PersistentVolumeClaim)
    	// if we can't convert then we don't handle this object so just return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 3.9K bytes
    - Viewed (0)
Back to top