Merge pull request #49924 from dixudx/increase_deployment_default_RevisionHistoryLimit
Automatic merge from submit-queue Increase default value of apps/v1beta2 DeploymentSpec.RevisionHistoryLimit to 10 **What this PR does / why we need it**: All controllers that use the `RevisionHistoryLimit` field have a default value of 10 for the field, except for `Deployment`, which has a default of 2. We should increase it to 10 for consistency on its default value across controllers. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49913 **Special notes for your reviewer**: /cc @janetkuo @foxish @liyinan926 **Release note**: ```release-note Increase default value of apps/v1beta2 DeploymentSpec.RevisionHistoryLimit to 10 ```
This commit is contained in:
@@ -51699,7 +51699,7 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"revisionHistoryLimit": {
|
||||
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.",
|
||||
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
|
@@ -7111,7 +7111,7 @@
|
||||
"revisionHistoryLimit": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2."
|
||||
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."
|
||||
},
|
||||
"paused": {
|
||||
"type": "boolean",
|
||||
|
Reference in New Issue
Block a user