Skip to content

Commit

Permalink
Add more details to ClusterBackupSpec api doc
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Sep 27, 2022
1 parent beaeb3e commit 50ec58e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,9 @@ <h3 id="planetscale.com/v2.ClusterBackupSpec">ClusterBackupSpec
<a href="#planetscale.com/v2.VitessClusterSpec">VitessClusterSpec</a>)
</p>
<p>
<p>ClusterBackupSpec configures backups for a cluster.</p>
<p>ClusterBackupSpec configures backups for a cluster.
In addition to disaster recovery, Vitess currently depends on backups to support
provisioning of a new tablet in a shard with existing data, as an implementation detail.</p>
</p>
<table class="table table-striped">
<thead class="thead-dark">
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/planetscale/v2/vitesscluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ type VitessImagePullPolicies struct {
}

// ClusterBackupSpec configures backups for a cluster.
// In addition to disaster recovery, Vitess currently depends on backups to support
// provisioning of a new tablet in a shard with existing data, as an implementation detail.
type ClusterBackupSpec struct {
// Locations is a list of places where Vitess backup data for the cluster
// can be stored. At least one storage location must be specified.
Expand Down

0 comments on commit 50ec58e

Please sign in to comment.