my storageclasses, not default
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
73abbcd468
commit
3d137ddb49
|
@ -0,0 +1,10 @@
|
|||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn-fast
|
||||
provisioner: driver.longhorn.io
|
||||
parameters:
|
||||
allowVolumeExpansion: "true"
|
||||
numberOfReplicas: "2"
|
||||
staleReplicaTimeout: "480" # 8 hours in minutes
|
||||
diskSelector: "ssd"
|
|
@ -0,0 +1,10 @@
|
|||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn-spinny
|
||||
provisioner: driver.longhorn.io
|
||||
parameters:
|
||||
allowVolumeExpansion: "true"
|
||||
numberOfReplicas: "2"
|
||||
staleReplicaTimeout: "480" # 8 hours in minutes
|
||||
diskSelector: "spinny"
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn-storageclasses
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: longhorn-storageclasses
|
||||
server: https://kubernetes.default.svc
|
||||
project: infra
|
||||
source:
|
||||
path: apps-kustomized/longhorn-storageclasses
|
||||
repoURL: https://git.martyn.berlin/martyn/infra4talos
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
Loading…
Reference in New Issue