Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Kubernetes / Storage, Configuration & Data Protection

Investigate a claim using the wrong default StorageClass

A claim without an explicit class can be provisioned differently across clusters or after default-class changes. Inspect class metadata and the actual claim.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.

Start with this check

Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.

kubectl get storageclass
kubectl -n app get pvc app-data -o yaml

What the results mean

The listing identifies classes and default annotations through supported output; the claim records its selected class. Existing bindings are not automatically migrated by changing a default.

Fix the cause and check again

Compare the intended performance, topology and reclaim policy with the selected class. Correct future provisioning through the reviewed manifest and plan any data migration separately.

Before changing production

Do not change the cluster default for one workload without reviewing other namespaces and pending claims.

Share this article

Back to all articles