0 votes
in Kubernetes K8s by

What is the difference between Kubernetes Deployment and Kubernetes StatefulSet?

a) Deployment manages stateful applications while StatefulSet manages stateless applications

b) Deployment manages stateless applications while StatefulSet manages stateful applications

c) Deployment is used for rolling updates and rollbacks while StatefulSet is not

d) StatefulSet is used for rolling updates and rollbacks while Deployment is not

1 Answer

0 votes
by

Answer: b)

Explanation: Deployment manages stateless applications while StatefulSet manages stateful applications. Deployment and StatefulSet are both ways to manage the deployment and scaling of applications in a Kubernetes cluster, but they differ in their support for stateful applications. Deployment is typically used for managing stateless applications, while StatefulSet is designed for managing stateful applications that require stable network identifiers, persistent storage, and ordered deployment and scaling.

Related questions

0 votes
asked Mar 22 in Kubernetes K8s by rajeshsharma
0 votes
asked Jun 13, 2020 in Continuous Deployment by anonymous
...