<p>Currently, I am migrating one of our microservice from K8S Deployment type to StatefulSets.
While updating Kubernetes deployment config I noticed StatefulSets doesn't support <code>revisionHistoryLimit</code> and <code>minReadySeconds</code>.</p>

<ol>
<li><code>revesionHistoryLimit</code> is used keep previous N numbers of replica sets for rollback.</li>
<li><code>minReadySeconds</code> is number of seconds pod should be ready without any of its container crashing.</li>
</ol>

<p>I couldn't find any compatible settings for <a href="https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/" rel="nofollow noreferrer" title="StatefulSets doc">StatefulSets</a>.</p>

<p>So my questions are:
1) How long master will wait to consider Stateful Pod ready?
2) How to handle rollback of Stateful application.</p>

<ol>
<li>You should define a readiness probe, and the master will wait for it to report the pod as Ready.</li>
<li>StatefulSets currently do not support rollbacks.</li>
</ol>
