Skip to main content

I recently installed k10, i can do backup, restore and disaster recovery for cluster resources and for applications without volumes.
I was unable to backup any application that has PVC.


my on-premises lab environment:
1 Master Node+2 Workers
Kubernetes v1.23.5
Helm v3.7.1
Kasten 4.5.12
Pre-flight check: attached

Command line used:
helm install k10 kasten/k10 --namespace=kasten --set global.persistence.storageClass=nfs-csi --set injectKanisterSidecar.enabled=true

 

Hello @RMarius ,

Based on the logs from the primer, I see you are running Kubernetes 1.23.

This version is not (yet) supported in K10: https://docs.kasten.io/latest/operating/support.html

We’re working on it though.

In the meantime I would advise to use a 1.22 K8s cluster.

Best regards,

Sylvain Huguet

Kasten by Veeam


@shuguet Thank you, I will reinstall the cluster with 1.22 and come back with feedback asap.


@shuguet any estimate when 1.23 support will be available? 1.22 will reach EOL on October ( https://kubernetes.io/releases/#release-v1-22 ) and people should have time for upgrades also.


@olljanat sorry I was out of the office.

Yes, we’re hard at work on this, shouldn’t be long now.

Best regards,


I Have same issue

Output from validation tools :

 

Kubernetes Version Check:
  Valid kubernetes version (v1.26.15)  -  OK

RBAC Check:
  Kubernetes RBAC is enabled  -  OK

Aggregated Layer Check:
  The Kubernetes Aggregated Layer is enabled  -  OK

CSI Capabilities Check:
  Using CSI GroupVersion snapshot.storage.k8s.io/v1  -  OK

Validating Provisioners:
cluster.local/nfs-subdir-external-provisioner:
  Storage Classes:
    nfs-client
      Supported via K10 Generic Volume Backup. See https://docs.kasten.io/latest/install/generic.html.

smb.csi.k8s.io:
  Is a CSI Provisioner  -  OK
  Storage Classes:
    smb
      Valid Storage Class  -  OK
  Volume Snapshot Classes:
    smb
      Has k10.kasten.io/is-snapshot-class annotation set to true  -  OK
      Has deletionPolicy 'Retain'  -  OK

Validate Generic Volume Snapshot:
  Pod created successfully  -  OK
  GVS Backup command executed successfully  -  OK
  Pod deleted successfully  -  OK
 

 

error message :

 

- cause:
    cause:
      fields:
        - name: pvcName
          value: pvc-default-nfs
        - name: pvName
          value: pv-default-nfs
        - name: storageClassName
          value: nfs-client
        - name: namespace
          value: default
      file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
      function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
      linenumber: 230
      message: '{"message":"Volume Snapshots are not supported for this storage
        provider.","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":263,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:263"}'
    file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:155
    function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
    linenumber: 155
    message: Failed to fetch the snapshot session
  message: Job failed to be executed


@mcoulibaly I believe I have a different issue. It seems you're using NFS volumes/storageclass which is not supporting volumesnapshot

Please review veeam kasten official doc for more details on how to backup unsupported storageclass/volumes

BR,
Ahmed Hagag


Comment