-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Description
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The Deployment
controller uses the field CollisionCount
as a collision avoidance mechanism when it needs to create name for the newest ReplicaSet
. Similarly, the DaemonSet
controller uses CollisionCount
as a collision avoidance mechanism when it needs to create name for the newest ControllerRevision
. Like the DaemonSet
controller, the StatefulSet
controller also creates ControllerRevision
, but does not use CollisionCount
for collision avoidance.
What you expected to happen:
The field CollisionCount
should be added to StatefulSetStatus
and used for collision avoidance like how the DaemonSet
controller uses the field when creating name for the newest ControllerRevision
.
How to reproduce it (as minimally and precisely as possible):
N/A.
Anything else we need to know?:
N/A.
Environment: N/A
- Kubernetes version (use
kubectl version
): - Cloud provider or hardware configuration**:
- OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a
): - Install tools:
- Others: