Skip to content

Instantly share code, notes, and snippets.

View Abhinandan-Purkait's full-sized avatar
🏠
Working from home

Abhinandan Purkait Abhinandan-Purkait

🏠
Working from home
View GitHub Profile
@Abhinandan-Purkait
Abhinandan-Purkait / configs.md
Last active June 14, 2024 10:00
Storageclass, PVC, App, ReplicationSource, ReplicationDestination, Restore PVC

Storage Class

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"openebs-zfspv"},"parameters":{"compression":"zstd-6","dedup":"off","fstype":"zfs","poolname":"zfspool","recordsize":"64k","thinprovision":"yes"},"provisioner":"zfs.csi.openebs.io"}
  creationTimestamp: "2024-06-14T07:01:14Z"
I0614 09:28:32.931819       1 snapshot.go:114] Got add event for Snap zfspool/snapshot-67978615-6236-4fae-ac00-bf20ecceb50e
I0614 09:28:32.961458       1 zfs_util.go:699] created snapshot pvc-11ddae92-e2d5-440d-af3b-0e490d1c1b0b@snapshot-67978615-6236-4fae-ac00-bf20ecceb50e
I0614 09:28:32.966000       1 snapshot.go:243] Successfully synced 'openebs/snapshot-67978615-6236-4fae-ac00-bf20ecceb50e'
I0614 09:29:00.008370       1 zfsnode.go:100] zfs node controller: node pools updated current=[{Name:zfspool UUID:9597344077012506440 Free:{i:{value:9040680448 scale:0} d:{Dec:<nil>} s:9040680448 Format:DecimalSI} Used:{i:{value:841099776 scale:0} d:{Dec:<nil>} s:841099776 Format:DecimalSI}}], required=[{Name:zfspool UUID:9597344077012506440 Free:{i:{value:8200629760 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Used:{i:{value:1681150464 scale:0} d:{Dec:<nil>} s: Format:BinarySI}}]
I0614 09:29:00.008424       1 zfsnode.go:110] zfs node controller: updating node object with &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Na