mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Merge pull request #49983 from liyinan926/master
Automatic merge from submit-queue Added field CollisionCount to StatefulSetStatus **What this PR does / why we need it**: This PR added a new field `CollisionCount` into `StatefulSetStatus`, similarly in terms of both name and semantics to the existing `CollisionCount` field in `DaemonSetStatus`. The field will be used for collision avoidance when the `StatefulSet` controller creates name for the newest ControllerRevision, which will be done in another PR. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: #49909. **Special notes for your reviewer**: A second PR will include logic that actually uses the field for collision avoidance. **Release note**: ```release-note Added field CollisionCount to StatefulSetStatus in both apps/v1beta1 and apps/v1beta2 ```
This commit is contained in:
@@ -53477,6 +53477,11 @@
|
||||
"replicas"
|
||||
],
|
||||
"properties": {
|
||||
"collisionCount": {
|
||||
"description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"currentReplicas": {
|
||||
"description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.",
|
||||
"type": "integer",
|
||||
@@ -54273,6 +54278,11 @@
|
||||
"replicas"
|
||||
],
|
||||
"properties": {
|
||||
"collisionCount": {
|
||||
"description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"currentReplicas": {
|
||||
"description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.",
|
||||
"type": "integer",
|
||||
|
||||
Reference in New Issue
Block a user