Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control backup gc by completed and failed bakcups number #4480

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
56 changes: 56 additions & 0 deletions docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,34 @@ and MaxBackups is ignored.</p>
</tr>
<tr>
<td>
<code>maxCompletedBackups</code></br>
<em>
int32
</em>
</td>
<td>
<em>(Optional)</em>
<p>MaxCompletedBackups specifies the number of completed backups to retain. It should be greater than 0, defaults to 3.
if both MaxCompletedBackups and MaxBackups are set, operator will keep no more than MaxCompletedBackups completed backups,
and no more than MaxBackups backups in total.</p>
</td>
</tr>
<tr>
<td>
<code>maxFailedBackups</code></br>
<em>
int32
</em>
</td>
<td>
<em>(Optional)</em>
<p>MaxFailedBackups specifies the number of failed backups to retain. It should be non-negative integer, defaults to 1.
if both MaxFailedBackups and MaxBackups are set, operator will keep no more than MaxFailedBackups failed backups,
and no more than MaxBackups backups in total.</p>
</td>
</tr>
<tr>
<td>
<code>maxReservedTime</code></br>
<em>
string
Expand Down Expand Up @@ -3145,6 +3173,34 @@ and MaxBackups is ignored.</p>
</tr>
<tr>
<td>
<code>maxCompletedBackups</code></br>
<em>
int32
</em>
</td>
<td>
<em>(Optional)</em>
<p>MaxCompletedBackups specifies the number of completed backups to retain. It should be greater than 0, defaults to 3.
if both MaxCompletedBackups and MaxBackups are set, operator will keep no more than MaxCompletedBackups completed backups,
and no more than MaxBackups backups in total.</p>
</td>
</tr>
<tr>
<td>
<code>maxFailedBackups</code></br>
<em>
int32
</em>
</td>
<td>
<em>(Optional)</em>
<p>MaxFailedBackups specifies the number of failed backups to retain. It should be non-negative integer, defaults to 1.
if both MaxFailedBackups and MaxBackups are set, operator will keep no more than MaxFailedBackups failed backups,
and no more than MaxBackups backups in total.</p>
</td>
</tr>
<tr>
<td>
<code>maxReservedTime</code></br>
<em>
string
Expand Down
Loading