Azure / aksArc

# Welcome to the Azure Kubernetes Service on Azure Stack HCI repo This is where the AKS-HCI team will track features and issues with AKS-HCI. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS-HCI!
MIT License
109 stars 45 forks source link

CSI Driver Support for volumesnapshot #312

Open xzrians opened 1 year ago

xzrians commented 1 year ago

May i know if the CSI Driver support is available for the disk CSI? As currently i was testing PostGre,SQLMI backup using kasten on AKSHCI. found out that there is no CRDs for volumesnapshot. tried to install manually and attach to default disk CSI driver. but still fail due to timeout.

image VolumeSnapshotClasses not found.

refer to this document also show no documented procedure to backup AKSHCI. Can we have backup copy of AKS- Azure Stack HCI on prem ?

AKSHCI Version 1.0.16.10113 AKSHCI Cluster version : 1.24.6

any idea on how we can enable backup for the AKS?

Elektronenvolt commented 1 year ago

Hi @xzrian We had discussion with a System Engineer from Kasten K10 recently and learned that the default storage provider disk.csi.akshci.com does not have a snapshot controller (so far?).

You can use Kasten's Kanister Blueprints to do a consistent backup on application level until a snapshot controller is available at storage level.

https://docs.kasten.io/latest/usage/blueprints.html https://github.com/kanisterio/kanister/tree/master/examples

xzrians commented 1 year ago

Hi Georg,

Since the snapshot controller isn't available currently for disk.csi.akshci.com. any alternative to do the backup?

I believe velero also utilize the same snapshot controller.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Georg Stoifl @.> Sent: Friday, March 24, 2023 7:47:06 PM To: Azure/aks-hybrid @.> Cc: Muhamad Arif @.>; Mention @.> Subject: Re: [Azure/aks-hybrid] CSI Driver Support for volumesnapshot (Issue #312)

Hi @xzrianhttps://github.com/xzrian We had discussion with a System Engineer from Kasten K10 recently and learned that the default storage provider disk.csi.akshci.com does not have snapshot controller (so far?).

You can use Kasten's Kanister Blueprints to do a consistent backup on application level until a snapshot controller is available at storage level.

https://docs.kasten.io/latest/usage/blueprints.html https://github.com/kanisterio/kanister/tree/master/examples

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/aks-hybrid/issues/312#issuecomment-1482675534, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALID77RREGBTWMGKK5QVBDTW5WCTVANCNFSM6AAAAAAV57F2VU. You are receiving this because you were mentioned.Message ID: @.***>

Elektronenvolt commented 1 year ago

Hi @xzrian Exactly - doing a disk snapshot with Velero will end up in the same error - no snapshot controller available. The alternative is to do backup / restore at application level with Kasten's Blueprints.

For Velero there is guide in the docs: https://learn.microsoft.com/en-us/azure/aks/hybrid/backup-workload-cluster It's using MinIO to backup all Kubernetes objects to Azure Storage. I've never checked / tested this in detail - can't give a comment on it.

xzrians commented 1 year ago

Hi Georg,

Just check with Kasten Team from APJ They recommend to use this method to backup any pv. if the csi not support volumesnapshot. basically using sidecar to extract and upload to respective kasten backup. Generic Storage Backup and Restore — K10 5.5.7 documentation (kasten.io)https://docs.kasten.io/latest/install/generic.html

For the time being i may opt out from backing up the PV. and it's not available as it is.

ps* i found out this url. mainly the native hyperv csi driver. not sure if this information worth to explore or not. Zetanova/hyperv-csi-driver: hyperv csi-driver for kubernetes persistence (github.com)https://github.com/Zetanova/hyperv-csi-driver [https://opengraph.githubassets.com/fa166194a17e7671ec4174d3fa27f76433d4ea316b025f7799584377b4f1c87a/Zetanova/hyperv-csi-driver]https://github.com/Zetanova/hyperv-csi-driver GitHub - Zetanova/hyperv-csi-driver: hyperv csi-driver for kubernetes persistencehttps://github.com/Zetanova/hyperv-csi-driver hyperv csi-driver for kubernetes persistence. Contribute to Zetanova/hyperv-csi-driver development by creating an account on GitHub. github.com


From: Georg Stoifl @.> Sent: Wednesday, March 29, 2023 5:10 PM To: Azure/aks-hybrid @.> Cc: Muhamad Arif @.>; Mention @.> Subject: Re: [Azure/aks-hybrid] CSI Driver Support for volumesnapshot (Issue #312)

Hi @xzrianhttps://github.com/xzrian Exactly - doing a disk snapshot with Velero will end up in the same error - no snapshot controller available. The alternative is to do backup / restore at application level with Kasten's Blueprints.

For Velero there is guide in the docs: https://learn.microsoft.com/en-us/azure/aks/hybrid/backup-workload-cluster It's using MinIO to backup all Kubernetes objects to Azure Storage. I've never checked / tested this in detail - can't give a comment on it.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/aks-hybrid/issues/312#issuecomment-1488222121, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALID77S5VE23FU2VVRKC45TW6P4AZANCNFSM6AAAAAAV57F2VU. You are receiving this because you were mentioned.Message ID: @.***>