Questions tagged [statefulset]

StatefulSets are valuable for applications that require one or more of the following.

  • Stable, unique network identifiers.
  • Stable, persistent storage.
  • Ordered, graceful deployment and scaling.
  • Ordered, graceful deletion and termination.
  • Ordered, automated rolling updates.
91 questions
-2
votes
1 answer

How to achieve thread safety for applications deployed in Kubernetes clusters?

My databases (mongodb and mysql) are declared as StatefulSet in yaml files. Backend framework is django. If I define functions that perform write operations (edit or delete) as async, it gonna be thread safe, right? Should I use locks or mutexes?
Milo Lu
  • 3,176
  • 3
  • 35
  • 46
1 2 3 4 5 6
7