fix revisionHistoryLimit default value to 10 (#8036)

This commit is contained in:
Tim Zhang
2018-04-10 23:54:11 +08:00
committed by zacharysarah
parent 31c061a667
commit a8c356c0f6
@@ -818,7 +818,7 @@ to a previous revision, or even pause it if you need to apply multiple tweaks in
You can set `.spec.revisionHistoryLimit` field in a Deployment to specify how many old ReplicaSets for
this Deployment you want to retain. The rest will be garbage-collected in the background. By default,
all revision history will be kept. In a future version, it will default to switch to 2.
it is 10.
**Note:** Explicitly setting this field to 0, will result in cleaning up all the history of your Deployment
thus that Deployment will not be able to roll back.