- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for ClaimBound (0.15 sec)
-
plugin/pkg/admission/storage/persistentvolume/resize/admission_test.go
Requests: getResourceList("1Gi"), }, StorageClassName: &goldClassName, }, Status: api.PersistentVolumeClaimStatus{ Capacity: getResourceList("1Gi"), Phase: api.ClaimBound, }, }, newObj: &api.PersistentVolumeClaim{ Spec: api.PersistentVolumeClaimSpec{ VolumeName: "volume1", Resources: api.VolumeResourceRequirements{ Requests: getResourceList("2Gi"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 7.7K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/binder_test.go
// update uid to new-uid and not sync to cache. newClaim = append(newClaim, newClaimArray("claim4-12", "uid4-12-new", "10Gi", "volume4-12", v1.ClaimBound, nil, annSkipLocalStore)...) return newClaim }(), expectedClaims: newClaimArray("claim4-12", "uid4-12-new", "10Gi", "volume4-12", v1.ClaimBound, nil, annSkipLocalStore), expectedEvents: noevents,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 65.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/delete_test.go
// the claim is bound to volume8-11-2 -> volume8-11-1 has lost the race and will be deleted initialClaims: newClaimArray("claim8-11", "uid8-11", "10Gi", "volume8-11-2", v1.ClaimBound, nil), expectedClaims: newClaimArray("claim8-11", "uid8-11", "10Gi", "volume8-11-2", v1.ClaimBound, nil), expectedEvents: noevents, errors: noerrors, // Inject deleter into the controller and call syncVolume. The
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
VolumeMode: &mode, }, } pvc := &v1.PersistentVolumeClaim{ Spec: v1.PersistentVolumeClaimSpec{ VolumeName: "dswp-test-volume-name", }, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, } dswp, fakePodManager, _, _, fakePodStateProvider := createDswpWithVolume(t, pv, pvc) return dswp, fakePodManager, fakePodStateProvider } func TestFindAndAddNewPods_WithDifferentConditions(t *testing.T) {
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/controller/volume/persistentvolume/pv_controller_test.go
initialClaims: noclaims, /* added in testAddClaim5_2 */ expectedClaims: newClaimArray("claim5-2", "uid5-2", "1Gi", "volume5-2", v1.ClaimBound, nil, volume.AnnBoundByController, volume.AnnBindCompleted), expectedEvents: noevents, errors: noerrors, // Custom test function that generates an add event
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.4K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util_test.go
Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, }, { ObjectMeta: metav1.ObjectMeta{Name: "non-migrated-pvc", Namespace: "default"}, Spec: v1.PersistentVolumeClaimSpec{VolumeName: nonMigratedVolume}, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 05:42:38 UTC 2023 - 10.4K bytes - Viewed (0) -
plugin/pkg/admission/storage/persistentvolume/resize/admission.go
oldSize := oldPvc.Spec.Resources.Requests[api.ResourceStorage] newSize := pvc.Spec.Resources.Requests[api.ResourceStorage] if newSize.Cmp(oldSize) <= 0 { return nil } if oldPvc.Status.Phase != api.ClaimBound { return admission.NewForbidden(a, fmt.Errorf("Only bound persistent volume claims can be expanded")) } // Growing Persistent volumes is only allowed for PVCs for which their StorageClass // explicitly allows it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 3.9K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/provision_test.go
initialClaims: newClaimArray("claim11-6", "uid11-6", "1Gi", "", v1.ClaimPending, &classGold), expectedClaims: newClaimArray("claim11-6", "uid11-6", "1Gi", "volume11-6", v1.ClaimBound, &classGold, volume.AnnBoundByController, volume.AnnBindCompleted), expectedEvents: noevents, errors: noerrors, // No provisioning plugin confingure - makes the test fail when
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 35.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
Name: "claimA", Namespace: "nsA", }, Spec: v1.PersistentVolumeClaimSpec{ VolumeName: "pvA", VolumeMode: &pvMode, }, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, } return node, pod, pv, claim } func simulateVolumeInUseUpdate(volumeName v1.UniqueVolumeName, stopCh <-chan struct{}, volumeManager VolumeManager) { ticker := time.NewTicker(100 * time.Millisecond)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/volume/util/resize_util_test.go
Requests: v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): resource.MustParse("2Gi"), }, }, }, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, Conditions: conditions, Capacity: v1.ResourceList{ v1.ResourceStorage: resource.MustParse("2Gi"), }, }, } return pvcModifier{pvc} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0)