add units for the staleReplicaTimeout
I can't find a single "spec" for the parameters, so I figure it's best to explain it in the examples and documentation. Signed-off-by: ted <ted@timmons.me>
This commit is contained in:
parent
73c7c5e6fc
commit
ed02804b20
@ -421,7 +421,7 @@ metadata:
|
||||
provisioner: driver.longhorn.io
|
||||
parameters:
|
||||
numberOfReplicas: "3"
|
||||
staleReplicaTimeout: "2880"
|
||||
staleReplicaTimeout: "2880" # 48 hours in minutes
|
||||
fromBackup: ""
|
||||
# diskSelector: "ssd,fast"
|
||||
# nodeSelector: "storage,fast"
|
||||
|
@ -49,7 +49,7 @@ spec:
|
||||
fsType: ext4
|
||||
volumeAttributes:
|
||||
numberOfReplicas: <replicas> # must match Longhorn volume value
|
||||
staleReplicaTimeout: '30'
|
||||
staleReplicaTimeout: '30' # in minutes
|
||||
volumeHandle: statefulset-vol-0 # must match volume name from Longhorn
|
||||
storageClassName: longhorn # must be same name that we will use later
|
||||
---
|
||||
|
@ -36,7 +36,7 @@ metadata:
|
||||
provisioner: rancher.io/longhorn
|
||||
parameters:
|
||||
numberOfReplicas: "3"
|
||||
staleReplicaTimeout: "480"
|
||||
staleReplicaTimeout: "480" # 8 hours in minutes
|
||||
diskSelector: "ssd"
|
||||
nodeSelector: "storage,fast"
|
||||
```
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
provisioner: driver.longhorn.io
|
||||
parameters:
|
||||
numberOfReplicas: "3"
|
||||
staleReplicaTimeout: "2880"
|
||||
staleReplicaTimeout: "2880" # 48 hours in minutes
|
||||
fromBackup: ""
|
||||
# diskSelector: "ssd,fast"
|
||||
# nodeSelector: "storage,fast"
|
||||
|
Loading…
Reference in New Issue
Block a user