Machine-translated by Google. Questions are authored in English.
Top

Discussion

Stateful workloads are harder to run on Kubernetes because

  • A.they require no scheduling whatever
  • B.identity and storage must persist
  • C.they cannot be containerised at all
  • D.no storage of any kind is available

Answer: B

Correct answer: identity and storage must persist

A stateless replica is interchangeable, which is what the whole scheduling model assumes. A stateful one is not: it needs a stable network identity, its own persistent volume that follows it, and often an ordered start-up and shutdown so that a cluster forms correctly. StatefulSets exist to provide those guarantees, and they are more constrained than a Deployment precisely because of them.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.