miracle2k/k8s-snapshots

On GCP new pvc's are not picked up

leo-baltus opened this issue · 4 comments

I am on GCP running in an GKE cluster.

If I set an annotation backup.kubernetes.io/deltas: PT1H P2D P30D P180D on a PVC k8s-snapshots does not seem to notice and ignores it till it gets restarted.

server version: v1.7.8-gke.0
manifest snip:

      containers:
      - env:
        - name: LOG_LEVEL
          value: INFO
        - name: USE_CLAIM_NAME
          value: "true"
        image: elsdoerfer/k8s-snapshots:v2.0

This appears to be true for manual rules as well. Also, if a rule is deleted, the system continues to create snapshots until the k8s-snapshots pod is restarted.

Also, if a disk that originally had the annotation is removed, the service will crash attempting to snapshot it. This ends up restarting the service and refreshing the values, which works - but it should probably handle this cleaner.

Seems this still is true.

Yep, I see this issue, too.

4 years later, this issue still persists.