Compare commits
No commits in common. "a754d3cc6061a8209018606a83fd5c7d5ea13eee" and "d73db0bd66c44973d521c44bde35f82ddb944c7c" have entirely different histories.
a754d3cc60
...
d73db0bd66
21 changed files with 38 additions and 27 deletions
|
@ -9,7 +9,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 2Gi
|
storage: 2Gi
|
||||||
storageClassName: "openebs-hostpath"
|
storageClassName: "openebs-zfs"
|
||||||
accessModes:
|
accessModes:
|
||||||
- "ReadWriteOnce"
|
- "ReadWriteOnce"
|
||||||
source:
|
source:
|
||||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
||||||
app.kubernetes.io/component: storage
|
app.kubernetes.io/component: storage
|
||||||
app.kubernetes.io/managed-by: cdi-controller
|
app.kubernetes.io/managed-by: cdi-controller
|
||||||
cdi.kubevirt.io: ""
|
cdi.kubevirt.io: ""
|
||||||
name: openebs-hostpath
|
name: openebs-zfs
|
||||||
spec:
|
spec:
|
||||||
claimPropertySets:
|
claimPropertySets:
|
||||||
- accessModes:
|
- accessModes:
|
||||||
|
@ -22,5 +22,5 @@ status:
|
||||||
cloneStrategy: copy
|
cloneStrategy: copy
|
||||||
dataImportCronSourceFormat: pvc
|
dataImportCronSourceFormat: pvc
|
||||||
provisioner: zfs.csi.openebs.io
|
provisioner: zfs.csi.openebs.io
|
||||||
snapshotClass: openebs-hostpath
|
snapshotClass: openebs-zfs
|
||||||
storageClass: openebs-hostpath
|
storageClass: openebs-zfs
|
||||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
||||||
app.kubernetes.io/name: crunchy-postgres
|
app.kubernetes.io/name: crunchy-postgres
|
||||||
replicas: &replica 1
|
replicas: &replica 1
|
||||||
dataVolumeClaimSpec:
|
dataVolumeClaimSpec:
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -13,8 +13,8 @@ resources:
|
||||||
- ./kubelet-csr-approver/ks.yaml
|
- ./kubelet-csr-approver/ks.yaml
|
||||||
- ./metrics-server/ks.yaml
|
- ./metrics-server/ks.yaml
|
||||||
- ./multus/ks.yaml
|
- ./multus/ks.yaml
|
||||||
- ./nvidia-device-plugin/ks.yaml
|
# - ./nvidia-device-plugin/ks.yaml # Until nvidia-container-plugin issues are resolved with the ZFS extension.
|
||||||
- ./node-feature-discovery/ks.yaml
|
- ./node-feature-discovery/ks.yaml
|
||||||
- ./reloader/ks.yaml
|
- ./reloader/ks.yaml
|
||||||
- ./spegel/ks.yaml
|
- ./spegel/ks.yaml
|
||||||
# - ./zfs-scrub/ks.yaml # Until nvidia-container-plugin issues are resolved with the ZFS extension.
|
- ./zfs-scrub/ks.yaml
|
||||||
|
|
|
@ -40,7 +40,7 @@ spec:
|
||||||
featureGates:
|
featureGates:
|
||||||
- CPUNodeDiscovery
|
- CPUNodeDiscovery
|
||||||
- ExpandDisks
|
- ExpandDisks
|
||||||
vmStateStorageClass: openebs-hostpath
|
vmStateStorageClass: openebs-zfs
|
||||||
target:
|
target:
|
||||||
group: kubevirt.io
|
group: kubevirt.io
|
||||||
kind: KubeVirt
|
kind: KubeVirt
|
||||||
|
|
|
@ -9,4 +9,4 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 80Gi
|
storage: 80Gi
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
|
|
|
@ -9,4 +9,4 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 80Gi
|
storage: 80Gi
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
|
|
|
@ -46,7 +46,7 @@ spec:
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
|
@ -142,7 +142,7 @@ spec:
|
||||||
storageSpec:
|
storageSpec:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 20Gi
|
storage: 20Gi
|
||||||
|
|
|
@ -104,7 +104,7 @@ spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
persistence:
|
persistence:
|
||||||
size: 20Gi
|
size: 20Gi
|
||||||
storageClass: openebs-hostpath
|
storageClass: openebs-zfs
|
||||||
gateway:
|
gateway:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
image:
|
image:
|
||||||
|
@ -125,7 +125,7 @@ spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
persistence:
|
persistence:
|
||||||
size: 20Gi
|
size: 20Gi
|
||||||
storageClass: openebs-hostpath
|
storageClass: openebs-zfs
|
||||||
sidecar:
|
sidecar:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/kiwigrid/k8s-sidecar
|
repository: ghcr.io/kiwigrid/k8s-sidecar
|
||||||
|
|
|
@ -65,7 +65,7 @@ spec:
|
||||||
- --retention.resolution-1h=60d
|
- --retention.resolution-1h=60d
|
||||||
persistence: &persistence
|
persistence: &persistence
|
||||||
enabled: true
|
enabled: true
|
||||||
storageClass: openebs-hostpath
|
storageClass: openebs-zfs
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
query:
|
query:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
|
@ -26,6 +26,7 @@ resources:
|
||||||
- kubernetes-sigs-external-dns.yaml
|
- kubernetes-sigs-external-dns.yaml
|
||||||
- nvidia.yaml
|
- nvidia.yaml
|
||||||
- openebs.yaml
|
- openebs.yaml
|
||||||
|
- openebs-zfs.yaml
|
||||||
- piraeus.yaml
|
- piraeus.yaml
|
||||||
- postfinance.yaml
|
- postfinance.yaml
|
||||||
- prometheus-community.yaml
|
- prometheus-community.yaml
|
||||||
|
|
10
kubernetes/flux/repositories/helm/openebs-zfs.yaml
Normal file
10
kubernetes/flux/repositories/helm/openebs-zfs.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: openebs-zfs
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
url: https://openebs.github.io/zfs-localpv
|
|
@ -36,7 +36,7 @@ spec:
|
||||||
app.kubernetes.io/name: pgo-${APP}
|
app.kubernetes.io/name: pgo-${APP}
|
||||||
replicas: 1
|
replicas: 1
|
||||||
dataVolumeClaimSpec:
|
dataVolumeClaimSpec:
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -12,4 +12,4 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "${VOLSYNC_CAPACITY}"
|
storage: "${VOLSYNC_CAPACITY}"
|
||||||
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-hostpath}"
|
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-zfs}"
|
||||||
|
|
|
@ -36,11 +36,11 @@ spec:
|
||||||
copyMethod: "${VOLSYNC_COPYMETHOD:-Snapshot}"
|
copyMethod: "${VOLSYNC_COPYMETHOD:-Snapshot}"
|
||||||
pruneIntervalDays: 7
|
pruneIntervalDays: 7
|
||||||
repository: "${APP}-volsync-secret"
|
repository: "${APP}-volsync-secret"
|
||||||
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-hostpath}"
|
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
||||||
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
|
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-hostpath}"
|
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-zfs}"
|
||||||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
moverSecurityContext:
|
moverSecurityContext:
|
||||||
runAsUser: ${APP_UID:-568}
|
runAsUser: ${APP_UID:-568}
|
||||||
|
@ -62,11 +62,11 @@ spec:
|
||||||
restic:
|
restic:
|
||||||
repository: "${APP}-volsync-secret"
|
repository: "${APP}-volsync-secret"
|
||||||
copyMethod: Snapshot # must be Snapshot
|
copyMethod: Snapshot # must be Snapshot
|
||||||
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-hostpath}"
|
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
|
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
||||||
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-hostpath}"
|
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-zfs}"
|
||||||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
capacity: "${VOLSYNC_CAPACITY}"
|
capacity: "${VOLSYNC_CAPACITY}"
|
||||||
moverSecurityContext:
|
moverSecurityContext:
|
||||||
|
|
|
@ -36,11 +36,11 @@ spec:
|
||||||
copyMethod: "${VOLSYNC_COPYMETHOD:-Snapshot}"
|
copyMethod: "${VOLSYNC_COPYMETHOD:-Snapshot}"
|
||||||
pruneIntervalDays: 7
|
pruneIntervalDays: 7
|
||||||
repository: "${APP}-volsync-r2-secret"
|
repository: "${APP}-volsync-r2-secret"
|
||||||
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-hostpath}"
|
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
|
||||||
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
|
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-zfs}"
|
||||||
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-hostpath}"
|
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-zfs}"
|
||||||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||||
moverSecurityContext:
|
moverSecurityContext:
|
||||||
runAsUser: ${APP_UID:-568}
|
runAsUser: ${APP_UID:-568}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kbench-pvc
|
name: kbench-pvc
|
||||||
spec:
|
spec:
|
||||||
storageClassName: openebs-hostpath
|
storageClassName: openebs-zfs
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in a new issue