You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
Merge pull request #44774 from kargakis/uniquifier
Automatic merge from submit-queue
Switch Deployments to new hashing algo w/ collision avoidance mechanism
Implements kubernetes/community#477
@kubernetes/sig-apps-api-reviews @kubernetes/sig-apps-pr-reviews
Fixeskubernetes/kubernetes#29735Fixeskubernetes/kubernetes#43948
```release-note
Deployments are updated to use (1) a more stable hashing algorithm (fnv) than the previous one (adler) and (2) a hashing collision avoidance mechanism that will ensure new rollouts will not block on hashing collisions anymore.
```
Copy file name to clipboardExpand all lines: apis/openapi-spec/swagger.json
+5
Original file line number
Diff line number
Diff line change
@@ -13315,6 +13315,11 @@
13315
13315
"type": "integer",
13316
13316
"format": "int32"
13317
13317
},
13318
+
"collisionCount": {
13319
+
"description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.",
13320
+
"type": "integer",
13321
+
"format": "int64"
13322
+
},
13318
13323
"conditions": {
13319
13324
"description": "Represents the latest available observations of a deployment's current state.",
Copy file name to clipboardExpand all lines: apis/swagger-spec/extensions_v1beta1.json
+5
Original file line number
Diff line number
Diff line change
@@ -7152,6 +7152,11 @@
7152
7152
"$ref": "v1beta1.DeploymentCondition"
7153
7153
},
7154
7154
"description": "Represents the latest available observations of a deployment's current state."
7155
+
},
7156
+
"collisionCount": {
7157
+
"type": "integer",
7158
+
"format": "int64",
7159
+
"description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.</p></td>
0 commit comments