Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 261 for PersistentVolumeClaim (0.65 sec)

  1. pkg/apis/core/helper/helpers.go

    		}
    	}
    	return false
    }
    
    func ClaimContainsAllocatedResources(pvc *core.PersistentVolumeClaim) bool {
    	if pvc == nil {
    		return false
    	}
    
    	if pvc.Status.AllocatedResources != nil {
    		return true
    	}
    	return false
    }
    
    func ClaimContainsAllocatedResourceStatus(pvc *core.PersistentVolumeClaim) bool {
    	if pvc == nil {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/user-volume.yaml.injected

            sidecar.istio.io/userVolume: '{"user-volume-1":{"persistentVolumeClaim":{"claimName":"pvc-claim"}},"user-volume-2":{"configMap":{"name":"configmap-volume","items":[{"key":"some-key","path":"/some-path"}]}}}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    		if id, ok := pl.filter.FilterVolume(vol); ok {
    			filteredVolumes.Insert(id)
    			continue
    		}
    
    		pvcName := ""
    		isEphemeral := false
    		switch {
    		case vol.PersistentVolumeClaim != nil:
    			pvcName = vol.PersistentVolumeClaim.ClaimName
    		case vol.Ephemeral != nil:
    			// Generic ephemeral inline volumes also use a PVC,
    			// just with a computed name and certain ownership.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    			Namespace: "metric-test",
    		},
    		Spec: v1.PodSpec{
    			NodeName: "metric-test-host",
    			Volumes: []v1.Volume{
    				{
    					Name: "metric-test-volume-name",
    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: "metric-test-pvc",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1alpha1/generated.proto

      // new parameters, and the PersistentVolumeClaim should be updated to reference
      // the new VolumeAttributesClass.
      //
      // This field is required and must contain at least one key/value pair.
      // The keys cannot be empty, and the maximum number of parameters is 512, with
      // a cumulative max size of 256K. If the CSI driver rejects invalid parameters,
      // the target PersistentVolumeClaim will be set to an "Infeasible" state in the
    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. pkg/scheduler/internal/queue/events.go

    	PvcAdd = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add, Label: "PvcAdd"}
    	// PvcUpdate is the event when a persistent volume claim is updated in the cluster.
    	PvcUpdate = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Update, Label: "PvcUpdate"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/fake_binder.go

    	return &PodVolumeClaims{}, nil
    }
    
    // GetEligibleNodes implements SchedulerVolumeBinder.GetEligibleNodes.
    func (b *FakeVolumeBinder) GetEligibleNodes(_ klog.Logger, boundClaims []*v1.PersistentVolumeClaim) (eligibleNodes sets.Set[string]) {
    	return nil
    }
    
    // FindPodVolumes implements SchedulerVolumeBinder.FindPodVolumes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 03:28:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    			ephemeralEnabled: true,
    			extraClaims:      []v1.PersistentVolumeClaim{*conflictingClaim},
    			test:             "volume not owned",
    			wantStatus:       framework.AsStatus(errors.New("PVC test/abc-xyz was not created for pod test/abc (pod is not owner)")),
    		},
    		{
    			newPod:           ephemeralVolumePod,
    			ephemeralEnabled: true,
    			extraClaims:      []v1.PersistentVolumeClaim{*ephemeralClaim},
    			maxVols:          1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  9. helm/minio/templates/statefulset.yaml

            {{- end }}
      {{- if .Values.persistence.enabled }}
      volumeClaimTemplates:
        {{- if gt $drivesPerNode 1 }}
        {{- range $diskId := until $drivesPerNode}}
        - apiVersion: v1
          kind: PersistentVolumeClaim
          metadata:
            name: export-{{ $diskId }}
            {{- if $.Values.persistence.annotations }}
            annotations: {{- toYaml $.Values.persistence.annotations | nindent 10 }}
            {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/cache/snapshot.go

    	for _, pod := range pods {
    		if pod.Spec.NodeName == "" {
    			continue
    		}
    
    		for _, v := range pod.Spec.Volumes {
    			if v.PersistentVolumeClaim == nil {
    				continue
    			}
    
    			key := framework.GetNamespacedName(pod.Namespace, v.PersistentVolumeClaim.ClaimName)
    			usedPVCSet.Insert(key)
    		}
    	}
    	return usedPVCSet
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top