What is the purpose of a StatefulSet in Kubernetes?

What is the purpose of a StatefulSet in Kubernetes?

a) To create stateless applications
b) To manage stateful applications
c) To store logs of the cluster
d) To monitor network traffic

Answer:

b) To manage stateful applications

Explanation:

A StatefulSet is used in Kubernetes to manage stateful applications, such as databases, where each Pod needs a persistent identity and storage.

Reference:

Kubernetes Quiz – MCQ – Multiple Choice Questions

Scroll to Top