diff --git a/README.md b/README.md index 02d9d5ae..e0aacae2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ kubectl get configmap storage-checkup-config -n -o yaml |status.startTimestamp|Checkup start timestamp|RFC 3339| |status.completionTimestamp|Checkup completion timestamp|RFC 3339| |status.result.defaultStorageClass|Indicates whether there is a default storage class|| -|status.result.pvcBound|PVC created and bound by the provisioner|| +|status.result.pvcBound|PVC of 10Mi created and bound by the provisioner|| |status.result.storageProfilesWithEmptyClaimPropertySets|StorageProfiles with empty claimPropertySets (unknown provisioners)|| |status.result.storageProfilesWithSpecClaimPropertySets|StorageProfiles with spec-overriden claimPropertySets|| |status.result.storageWithRWX|Storage with RWX access mode|| diff --git a/pkg/internal/checkup/checkup.go b/pkg/internal/checkup/checkup.go index 7e9fb580..d75704d7 100644 --- a/pkg/internal/checkup/checkup.go +++ b/pkg/internal/checkup/checkup.go @@ -423,7 +423,7 @@ func (c *Checkup) checkPVCCreationAndBinding(ctx context.Context, errStr *string Storage: &cdiv1.StorageSpec{ Resources: corev1.ResourceRequirements{ Requests: corev1.ResourceList{ - corev1.ResourceStorage: resource.MustParse("20Mi"), + corev1.ResourceStorage: resource.MustParse("10Mi"), }, }, }, @@ -458,6 +458,7 @@ func (c *Checkup) waitForPVCBound(ctx context.Context, result, errStr *string) { log.Printf("Waiting for PVC %q bound", pvcName) if err := wait.PollImmediateWithContext(ctx, pollInterval, time.Minute, conditionFn); err != nil { + log.Printf("PVC %q failed to bound", pvcName) appendSep(result, ErrPvcNotBound) appendSep(errStr, ErrPvcNotBound) return