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

Support for multiple set of credentials for VolumeSnapshotLocations #4115

Open
pradeepkchaturvedi opened this issue Sep 8, 2021 · 5 comments
Assignees
Labels
kind/requirement Needs Product Blocked needing input or feedback from Product

Comments

@pradeepkchaturvedi
Copy link

Azure disk supports volume snapshot to different Azure subscription as mentioned in https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure/blob/main/volumesnapshotlocation.md

User wants to schedule backups for a AKS cluster to two different subscriptions with volume snapshot option option. As mentioned https://velero.io/docs/v1.6/locations/#docs only single set of credential supported for volume snapshot.

Like BSL supports specifying a credential at time of backup, user should also able to specify credential for Volume Snapshot.

@ywk253100 ywk253100 added kind/requirement Needs Product Blocked needing input or feedback from Product labels Sep 13, 2021
@ywk253100 ywk253100 added this to the v1.8.0 milestone Sep 14, 2021
@goutamtadi1
Copy link

👍🏼 Need this feature ASAP. This seems very important for Disaster recovery reasons.

@stale
Copy link

stale bot commented Nov 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@zubron
Copy link
Contributor

zubron commented Nov 30, 2021

Hi @pradeepkchaturvedi. Backing up to multiple subscriptions can currently be achieved with the Azure plugin by ensuring that the credential created can access multiple subscriptions. When creating the Service Principal that Velero will use to interact with Azure, multiple subscriptions can be specified (see step 2 in the docs for creating the service principal). Different VolumeSnapshotLocations can then be created referencing each of the subscriptions that the user wishes to take snapshots in but Velero will only use the single credential.

This feature is only available for Azure currently as AWS and GCP don't support taking snapshots in different accounts and Velero does not yet support data movement to different accounts/regions. For other providers, allowing different credentials isn't as valuable as the snapshots are usually tied to the account where the volume exists and Velero will already have a credential to interact with volumes in that account. Do you see a need to support multiple credentials on providers other than Azure?

cc @eleanor-millman

@pradeepkchaturvedi
Copy link
Author

Hi @zubron Thanks. Yes, currently main challenge is with Azure provider. We did mention option of having service principle created for multiple subscription with customers. There were security concerns for creating service principle with access to many subscriptions specially if there are 100s of Azure subscriptions, for having flexibility to choose any subscription for volume snapshot, service principal needs access to many subscription. I think, portworx plugin also has concept of local or cloud snapshot location for volumes, though I am not sure if it needs different credentials.

@reasonerjt reasonerjt removed this from the v1.8.0 milestone Dec 7, 2021
@reasonerjt
Copy link
Contributor

Removing the v1.8 milestone per discussion with Eleanor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/requirement Needs Product Blocked needing input or feedback from Product
Projects
None yet
Development

No branches or pull requests

6 participants