mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
Update API doc of extensions/v1beta1 Deployment's RevisionHistoryLimit
This commit is contained in:
parent
1f921760d6
commit
935fc2c715
@ -110,6 +110,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// The number of old ReplicaSets to retain to allow rollback.
|
// The number of old ReplicaSets to retain to allow rollback.
|
||||||
// This is a pointer to distinguish between explicit zero and not specified.
|
// This is a pointer to distinguish between explicit zero and not specified.
|
||||||
|
// This is set to the max value of int32 (i.e. 2147483647) by default, which means
|
||||||
|
// "retaining all old ReplicaSets".
|
||||||
// +optional
|
// +optional
|
||||||
RevisionHistoryLimit *int32
|
RevisionHistoryLimit *int32
|
||||||
|
|
||||||
|
@ -151,6 +151,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// The number of old ReplicaSets to retain to allow rollback.
|
// The number of old ReplicaSets to retain to allow rollback.
|
||||||
// This is a pointer to distinguish between explicit zero and not specified.
|
// This is a pointer to distinguish between explicit zero and not specified.
|
||||||
|
// This is set to the max value of int32 (i.e. 2147483647) by default, which
|
||||||
|
// means "retaining all old RelicaSets".
|
||||||
// +optional
|
// +optional
|
||||||
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`
|
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user