Bird
0
0

A StorageClass YAML includes:

medium📝 Troubleshoot Q7 of 15
Kubernetes - Persistent Storage
A StorageClass YAML includes:
allowVolumeExpansion: true

But volume expansion fails when PVC size is increased. What might be wrong?
AThe underlying storage backend does not support expansion
BThe reclaimPolicy is set to Retain
CThe provisioner field is missing
DThe volumeBindingMode is WaitForFirstConsumer
Step-by-Step Solution
Solution:
  1. Step 1: Understand allowVolumeExpansion

    This flag enables expansion but depends on backend support.
  2. Step 2: Identify backend limitation

    If backend storage does not support resizing, expansion will fail despite flag.
  3. Final Answer:

    The underlying storage backend does not support expansion -> Option A
  4. Quick Check:

    Backend support needed for volume expansion [OK]
Quick Trick: Check backend capabilities before expanding volumes [OK]
Common Mistakes:
  • Assuming allowVolumeExpansion guarantees success
  • Confusing reclaimPolicy with expansion
  • Ignoring backend storage limitations

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes