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

Create a new MedusaConfiguration API #1157

Closed
1 task
Tracked by #1156
adejanovski opened this issue Jan 5, 2024 · 0 comments · Fixed by #1180
Closed
1 task
Tracked by #1156

Create a new MedusaConfiguration API #1157

adejanovski opened this issue Jan 5, 2024 · 0 comments · Fixed by #1180
Assignees
Labels
done Issues in the state 'done'

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Jan 5, 2024

The MedusaConfiguration API schema will use the same type as Medusa's storage properties.

Name Type Description Required
apiProfile string AWS Profile to use for authentication. false
backupGracePeriodInDays integer Age after which orphan sstables can be deleted from the storage backend. Protects from race conditions between purge and ongoing backups. Defaults to 10 days. false
bucketName string The name of the bucket to use for the backups. false
concurrentTransfers integer Number of concurrent uploads. Helps maximizing the speed of uploads but puts more pressure on the network. Defaults to 1.Default: 1 false
host string Host to connect to for the storage backend. false
maxBackupAge integer Maximum backup age that the purge process should observe.Default: 0 false
maxBackupCount integer Maximum number of backups to keep (used by the purge process). Default is unlimited.Default: 0 false
multiPartUploadThreshold integer File size over which cloud specific cli tools are used for transfer. Defaults to 100 MB.Default: 104857600 false
port integer Port to connect to for the storage backend. false
prefix string Name of the top level folder in the backup bucket. If empty, the cluster name will be used. false
region string Region of the storage bucket. Defaults to "default". false
secure boolean Whether to use SSL for the storage backend. false
storageProvider enum The storage backend to use for the backups.Enum: local, google_storage, azure_blobs, s3, s3_compatible, s3_rgw, ibm_storage false
storageSecretRef string Kubernetes Secret that stores the key file for the storage provider's API. If using 'local' storage, this value is ignored. false
transferMaxBandwidth string Max upload bandwidth in MB/s. Defaults to 50 MB/s.Default: 50MB/s false

Initially, the controller for this API would only verify that the referenced secret is available and update the status accordingly.
In the future it could attempt a connection to the bucket and update the status of the object to indicate if the settings are valid and allow a successful connection.

The referenced secret must exist in the same namespace as the MedusaConfiguration object.

Definition of Done

Preview Give feedback
@adejanovski adejanovski moved this to Ready in K8ssandra Jan 5, 2024
@adejanovski adejanovski added the ready Issues in the state 'ready' label Jan 5, 2024
@adejanovski adejanovski self-assigned this Jan 19, 2024
@adejanovski adejanovski moved this from Ready to In Progress in K8ssandra Jan 19, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed ready Issues in the state 'ready' labels Jan 19, 2024
@adejanovski adejanovski moved this from In Progress to Ready For Review in K8ssandra Jan 19, 2024
@adejanovski adejanovski added ready-for-review Issues in the state 'ready-for-review' and removed in-progress Issues in the state 'in-progress' labels Jan 19, 2024
@olim7t olim7t moved this from Ready For Review to Review in K8ssandra Jan 23, 2024
@adejanovski adejanovski added review Issues in the state 'review' and removed ready-for-review Issues in the state 'ready-for-review' labels Jan 23, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in K8ssandra Jan 23, 2024
@adejanovski adejanovski added done Issues in the state 'done' and removed review Issues in the state 'review' labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issues in the state 'done'
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant