feat(storage): split longhorn classes by workload
This commit is contained in:
1 parent
1118c0a01d
commit
742b361d1b
5 files changed
+61
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-storageclasses
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: master
|
||||
path: storageclasses
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- PruneLast=true
|
||||
@@ -3,7 +3,7 @@ tag: kube-node-frontend-refactor-design-202607030337-36
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
storage:
|
||||
className: longhorn
|
||||
className: longhorn-edge-local
|
||||
size: 5Gi
|
||||
keep: true
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ tag: kube-node-frontend-refactor-design-202607030337-36
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
storage:
|
||||
className: longhorn
|
||||
className: longhorn-edge-local
|
||||
size: 5Gi
|
||||
keep: true
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ tag: kube-node-frontend-refactor-design-202607030337-36
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
storage:
|
||||
className: longhorn
|
||||
className: longhorn-platform
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: longhorn-platform
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "false"
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
reclaimPolicy: Delete
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
numberOfReplicas: "2"
|
||||
staleReplicaTimeout: "30"
|
||||
fromBackup: ""
|
||||
fsType: ext4
|
||||
dataLocality: best-effort
|
||||
unmapMarkSnapChainRemoved: ignored
|
||||
disableRevisionCounter: "true"
|
||||
dataEngine: v1
|
||||
backupTargetName: default
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: longhorn-edge-local
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "false"
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
reclaimPolicy: Delete
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
numberOfReplicas: "1"
|
||||
staleReplicaTimeout: "30"
|
||||
fromBackup: ""
|
||||
fsType: ext4
|
||||
dataLocality: strict-local
|
||||
unmapMarkSnapChainRemoved: ignored
|
||||
disableRevisionCounter: "true"
|
||||
dataEngine: v1
|
||||
backupTargetName: default
|
||||
Reference in new issue
Block a user