When is a StatefulSet useful?
A StatefulSet helps when an application needs stable Pod identities, persistent storage per replica, or ordered deployment and scaling.
Study Kubernetes and Container Storage with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
When is a StatefulSet useful?
A StatefulSet helps when an application needs stable Pod identities, persistent storage per replica, or ordered deployment and scaling.
What should a storage recovery plan include?
Define backup frequency, retention, restore procedures, and recovery objectives; test restores rather than assuming a volume can be recovered.
What roles do PV, PVC, and StorageClass play?
A PersistentVolume (PV) represents storage available to the cluster; a PersistentVolumeClaim (PVC) requests storage; a StorageClass describes a storage type and its provisioner.
How can data outlive a replaceable container?
A volume separates storage from the container’s lifecycle, so data can remain available after that container is removed.
Which factors help assess storage performance?
Estimate capacity, latency, throughput, and I/O patterns; different workloads, such as databases and caches, may have different performance needs.
Does persistent storage automatically provide a backup?
A volume is not automatically a backup: it does not by itself protect against accidental deletion, corruption, or loss of the underlying storage system.
How can a StatefulSet provide storage per Pod?
A StatefulSet can create a separate PVC for each Pod from a claim template and associate the Pod identity with its existing claim after rescheduling, subject to storage and scheduling constraints.
What do Delete and Retain mean as reclaim policies?
A reclaim policy controls what happens to a dynamically provisioned PV after its claim is released: Delete can remove the underlying volume, while Retain leaves it for manual handling.
Does a StatefulSet alone make an application highly available?
A StatefulSet does not provide high availability by itself; the application still needs suitable replication, failover, and recovery design.
What should be checked before sharing storage?
Confirm that the storage provider supports the required access mode and that concurrent writers are safe for the application and filesystem.
What does ReadWriteOnce mean in Kubernetes?
ReadWriteOnce allows read-write mounting by a single node; multiple Pods on that same node may still use the volume.
How does a named volume differ from a bind mount?
A Docker named volume is managed by Docker and can be reused by other containers; a bind mount exposes a chosen host path directly.
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
Focused study of relational and nonrelational databases and service selection concepts.
Focused study of instances, instance types, scaling and compute use cases.
Focused study of objects, buckets, storage classes and storage use cases.
Focused study of event-driven functions and serverless application concepts.