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