- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 191 for PersistentVolumeClaim (0.4 sec)
-
pkg/registry/core/persistentvolumeclaim/strategy_test.go
"v1", "PersistentVolumeClaim", PersistentVolumeClaimToSelectableFields(&api.PersistentVolumeClaim{}), map[string]string{"name": "metadata.name"}, ) } func TestDropConditions(t *testing.T) { ctx := genericapirequest.NewDefaultContext() pvcWithConditions := func() *api.PersistentVolumeClaim { return &api.PersistentVolumeClaim{ Status: api.PersistentVolumeClaimStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.2K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go
t.Fatalf("unexpected error from REST storage: %v", err) } return persistentVolumeClaimStorage, statusStorage, server } func validNewPersistentVolumeClaim(name, ns string) *api.PersistentVolumeClaim { pv := &api.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: ns, }, Spec: api.PersistentVolumeClaimSpec{ AccessModes: []api.PersistentVolumeAccessMode{api.ReadWriteOnce},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
// boundClaims are the pod's bound PVCs. boundClaims []*v1.PersistentVolumeClaim // unboundClaimsDelayBinding are the pod's unbound with delayed binding (including provisioning) PVCs. unboundClaimsDelayBinding []*v1.PersistentVolumeClaim // unboundClaimsImmediate are the pod's unbound with immediate binding PVCs (i.e., supposed to be bound already) . unboundClaimsImmediate []*v1.PersistentVolumeClaim
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
ephemeralEnabled: true, extraClaims: []v1.PersistentVolumeClaim{*ephemeralClaim}, driverNames: []string{ebsCSIDriverName}, test: "ephemeral volume unbound", }, { newPod: ephemeralVolumePod, filterName: "csi", ephemeralEnabled: true, extraClaims: []v1.PersistentVolumeClaim{*ephemeralClaim}, driverNames: []string{ebsCSIDriverName},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
} } } func applyPVCPatch(originalPVC *v1.PersistentVolumeClaim, patch []byte) (*v1.PersistentVolumeClaim, error) { pvcData, err := json.Marshal(originalPVC) if err != nil { return nil, fmt.Errorf("failed to marshal pvc with %v", err) } updated, err := strategicpatch.StrategicMergePatch(pvcData, patch, v1.PersistentVolumeClaim{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller.go
// Check whether pvc is used by pod only if pod is scheduled, because // kubelet sees pods after they have been scheduled and it won't allow // starting a pod referencing a PVC with a non-nil deletionTimestamp. if pod.Spec.NodeName != "" { for _, volume := range pod.Spec.Volumes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
updated, err := ctrl.assignDefaultStorageClass(ctx, claim) if err != nil { metrics.RecordRetroactiveStorageClassMetric(false) return fmt.Errorf("can't update PersistentVolumeClaim[%q]: %w", claimToClaimKey(claim), err) } if updated {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
for i := range pod.Spec.Volumes { pod.Spec.Volumes[i].PersistentVolumeClaim = nil } if storageMatches(set, pod) { t.Error("Pod with invalid Volumes claim valid storage") } pod = newStatefulSetPod(set, 1) for i := range pod.Spec.Volumes { if pod.Spec.Volumes[i].PersistentVolumeClaim != nil { pod.Spec.Volumes[i].PersistentVolumeClaim.ClaimName = "foo" } } if storageMatches(set, pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
func TestCheckVolumeFSResize(t *testing.T) { setCapacity := func(pv *v1.PersistentVolume, pvc *v1.PersistentVolumeClaim, capacity int) { pv.Spec.Capacity = volumeCapacity(capacity) pvc.Spec.Resources.Requests = volumeCapacity(capacity) } testcases := []struct { resize func(*testing.T, *v1.PersistentVolume, *v1.PersistentVolumeClaim, *desiredStateOfWorldPopulator)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go
"k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/features" ) func testVolumeClaim(name string, namespace string, spec core.PersistentVolumeClaimSpec) *core.PersistentVolumeClaim { return &core.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace}, Spec: spec, } } func TestPersistentVolumeClaimEvaluatorUsage(t *testing.T) { classGold := "gold"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.5K bytes - Viewed (0)