StorageClass and PVC Expansion
Datadog ☯️ Medium Kubernetes
Beginner Mode

Start your terminal to use beginner mode.

Scenario

The cluster has no StorageClass configured for dynamic volume expansion.

Task

Create a StorageClass with volume expansion enabled, create a PVC and Pod using it, then expand the PVC from 1Gi to 2Gi.

Property Value
Namespace storage
StorageClass name fast-sc
PVC name expand-pvc
Initial PVC size 1Gi
Expanded PVC size 2Gi
Pod name storage-pod
Pod image nginx
Mount path /data

Resource templates are available at /home/interview/.

Terminal requires a larger screen

Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.

Kubernetes Environment

Launch a live cluster to solve this challenge.

Sign In

Track

Question Difficulty Company Access
Need more practice in this area? Explore more questions →