Update default TTL to 30 days

Signed-off-by: Nolan Brubaker <nolan@heptio.com>
pull/204/head
Nolan Brubaker 2017-11-14 14:39:54 -05:00
parent 9996eec6be
commit 194d21c6a3
6 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ ark backup create NAME [flags]
-l, --selector labelSelector only back up resources matching this label selector (default <none>) -l, --selector labelSelector only back up resources matching this label selector (default <none>)
--show-labels show labels in the last column --show-labels show labels in the last column
--snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup --snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup
--ttl duration how long before the backup can be garbage collected (default 24h0m0s) --ttl duration how long before the backup can be garbage collected (default 720h0m0s)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -26,7 +26,7 @@ ark create backup NAME [flags]
-l, --selector labelSelector only back up resources matching this label selector (default <none>) -l, --selector labelSelector only back up resources matching this label selector (default <none>)
--show-labels show labels in the last column --show-labels show labels in the last column
--snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup --snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup
--ttl duration how long before the backup can be garbage collected (default 24h0m0s) --ttl duration how long before the backup can be garbage collected (default 720h0m0s)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -27,7 +27,7 @@ ark create schedule NAME [flags]
-l, --selector labelSelector only back up resources matching this label selector (default <none>) -l, --selector labelSelector only back up resources matching this label selector (default <none>)
--show-labels show labels in the last column --show-labels show labels in the last column
--snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup --snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup
--ttl duration how long before the backup can be garbage collected (default 24h0m0s) --ttl duration how long before the backup can be garbage collected (default 720h0m0s)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -27,7 +27,7 @@ ark schedule create NAME [flags]
-l, --selector labelSelector only back up resources matching this label selector (default <none>) -l, --selector labelSelector only back up resources matching this label selector (default <none>)
--show-labels show labels in the last column --show-labels show labels in the last column
--snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup --snapshot-volumes optionalBool[=true] take snapshots of PersistentVolumes as part of the backup
--ttl duration how long before the backup can be garbage collected (default 24h0m0s) --ttl duration how long before the backup can be garbage collected (default 720h0m0s)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -37,7 +37,7 @@ Heptio Ark can help you port your resources from one cluster to another, as long
``` ```
ark backup create <BACKUP-NAME> ark backup create <BACKUP-NAME>
``` ```
The default TTL is 24 hours; you can use the `--ttl` flag to change this as necessary. The default TTL is 30 days (720 hours); you can use the `--ttl` flag to change this as necessary.
2. *(Cluster 2)* Make sure that the `persistentVolumeProvider` and `backupStorageProvider` fields in the Ark Config match the ones from *Cluster 1*, so that your new Ark server instance is pointing to the same bucket. 2. *(Cluster 2)* Make sure that the `persistentVolumeProvider` and `backupStorageProvider` fields in the Ark Config match the ones from *Cluster 1*, so that your new Ark server instance is pointing to the same bucket.

View File

@ -68,7 +68,7 @@ type CreateOptions struct {
func NewCreateOptions() *CreateOptions { func NewCreateOptions() *CreateOptions {
return &CreateOptions{ return &CreateOptions{
TTL: 24 * time.Hour, TTL: 30 * 24 * time.Hour,
IncludeNamespaces: flag.NewStringArray("*"), IncludeNamespaces: flag.NewStringArray("*"),
Labels: flag.NewMap(), Labels: flag.NewMap(),
SnapshotVolumes: flag.NewOptionalBool(nil), SnapshotVolumes: flag.NewOptionalBool(nil),