Description
Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
Using a StatefulSet for memcached clusters would be a good choice, as stable hostnames will avoid unnecessary data reassignment during a deploy. In order to let cache hit rate stabilize before updating the next pod, I was looking for the MinReadySeconds
option as available in Deployment, DaemonSet, and ReplicaSet. Unfortunatley it doesn't look like that option exists in StatefulSets.
What you expected to happen:
Have a MinReadySeconds option in Statefulset.
How to reproduce it (as minimally and precisely as possible):
kubernetes/staging/src/k8s.io/api/apps/v1/types.go
Lines 114 to 173 in 1a7a609
Anything else we need to know?:
I'd be happy to contribute a patch, if you confirm the lack of MinReadySeconds on StatefulSets is not desired.