fix revisionHistoryLimit default value to 10 (#8036)
parent
56bf362a3e
commit
e8bc565959
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue