Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 763448e

Browse files
author
Kubernetes Submit Queue
authored
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 Fixes kubernetes/kubernetes#29735 Fixes kubernetes/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. ```
2 parents 66885d2 + 89e50ff commit 763448e

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

apis/openapi-spec/swagger.json

+5
Original file line numberDiff line numberDiff line change
@@ -13315,6 +13315,11 @@
1331513315
"type": "integer",
1331613316
"format": "int32"
1331713317
},
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+
},
1331813323
"conditions": {
1331913324
"description": "Represents the latest available observations of a deployment's current state.",
1332013325
"type": "array",

apis/swagger-spec/extensions_v1beta1.json

+5
Original file line numberDiff line numberDiff line change
@@ -7152,6 +7152,11 @@
71527152
"$ref": "v1beta1.DeploymentCondition"
71537153
},
71547154
"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."
71557160
}
71567161
}
71577162
},

docs/api-reference/extensions/v1beta1/definitions.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,13 @@ <h3 id="_v1beta1_deploymentstatus">v1beta1.DeploymentStatus</h3>
478478
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1beta1_deploymentcondition">v1beta1.DeploymentCondition</a> array</p></td>
479479
<td class="tableblock halign-left valign-top"></td>
480480
</tr>
481+
<tr>
482+
<td class="tableblock halign-left valign-top"><p class="tableblock">collisionCount</p></td>
483+
<td class="tableblock halign-left valign-top"><p class="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>
484+
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
485+
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int64)</p></td>
486+
<td class="tableblock halign-left valign-top"></td>
487+
</tr>
481488
</tbody>
482489
</table>
483490

@@ -7190,7 +7197,7 @@ <h3 id="_any">any</h3>
71907197
</div>
71917198
<div id="footer">
71927199
<div id="footer-text">
7193-
Last updated 2017-05-22 07:30:41 UTC
7200+
Last updated 2017-05-25 09:37:16 UTC
71947201
</div>
71957202
</div>
71967203
</body>

0 commit comments

Comments
 (0)