Skip to content
IROSG.
Articles

Kubernetes persistent storage: PVs, PVCs, StorageClasses and reclaim policy

A practical source-backed IROSG technical guide.

Kubernetes persistent storage: PVs, PVCs, StorageClasses and reclaim policy

Scope

This original IROSG guide covers مدیریت storage پایدار در Kubernetes و lifecycle بین PV و PVC using the cited primary documentation.

Core model

Pod عمر کوتاه دارد ولی داده همیشه نباید کوتاه‌عمر باشد. PersistentVolume منبع storage را مدل می‌کند، PersistentVolumeClaim درخواست مصرف‌کننده است و StorageClass provisioning و policy backend را تعریف می‌کند.

Practical workflow

Access mode، capacity، reclaim policy و volume binding mode را قبل از deploy مشخص کنید. برای stateful workload zone/topology را در نظر بگیرید و backup را از snapshot storage تفکیک کنید.

Failure modes

Delete شدن PVC با reclaim policy اشتباه می‌تواند داده را حذف کند. ReadWriteOnce نیز به معنی «یک Pod» در همهٔ سناریوها نیست و semantics driver/backend باید بررسی شود.

Lab

دو StorageClass با policy متفاوت بسازید، PVC ایجاد کنید و رفتار delete/recreate را ببینید. سپس node failure را شبیه‌سازی و زمان attach/mount مجدد را ثبت کنید.

Production method

Capture a baseline, change one variable at a time, test positive and negative paths, keep evidence, and rehearse rollback before broad rollout.

TRACEABLE KNOWLEDGE

Sources & further reading

01
Kubernetes — منبع اصلیhttps://kubernetes.io/docs/concepts/storage/persistent-volumes/

Editorial review date:

IROSG / EDITORIAL

News and pioneer profiles use original writing with source attribution. Image credits and licenses are kept in each page’s sources section instead of beneath the images. CVE reference data credits its primary sources.

Editorial and image policy ↗

Keep exploring.

Articles ↗
VyOS network operating systemArticles
Networking

VyOS network operating system

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story
Routinator RPKI validatorArticles
Networking

Routinator RPKI validator

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story
ISC Kea DHCP High AvailabilityArticles
Networking

ISC Kea DHCP High Availability

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story