Question 590
Stateful pods are deleted during a maintenance test and new instances attach the wrong temporary volumes because persistent claim templates were not designed for stable pod identity. Once the issue is resolved, which ongoing practice BEST prevents this type of failure?
Explanation
Correct Answer
Keep StatefulSet upgrade and PVC retention procedures distinct from stateless Deployment replacement practices. Application state and replica identity must be modeled explicitly when Kubernetes workloads are not interchangeable.
Incorrect Answers
Velero backup effectiveness depends on reachable object storage, supported volume-data protection, scope, credentials and application consistency. For this case, statefulSets provide stable pod identities and per-replica volume claim relationships appropriate for selected stateful services, unlike generic interchangeable Deployment replicas.
This option concerns edit VKS cluster class and release configuration. This case instead turns on statefulSet identity and stable persistent storage; use a compatible StatefulSet and volumeClaimTemplates, confirm access modes and ordinals, and test controlled pod rescheduling with the application's clustering rules.
Kubernetes readiness controls endpoint inclusion while rollout surge and unavailable limits shape when old replicas are removed and new ones serve traffic. Here, use a compatible StatefulSet and volumeClaimTemplates, confirm access modes and ordinals, and test controlled pod rescheduling with the application's clustering rules.