From 5643e8ebb5c8791c20b39df079b2587cc2bbb78f Mon Sep 17 00:00:00 2001 From: Chris Knowles Date: Sat, 26 May 2018 19:58:56 +0800 Subject: [PATCH 1/2] Correct default restorePriorities Changed in https://github.com/heptio/ark/pull/258 Signed-off-by: Chris Knowles --- docs/config-definition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config-definition.md b/docs/config-definition.md index 2255e754e..49789ee51 100644 --- a/docs/config-definition.md +++ b/docs/config-definition.md @@ -56,7 +56,7 @@ The configurable parameters are as follows: | `backupSyncPeriod` | metav1.Duration | 60m0s | How frequently Ark queries the object storage to make sure that the appropriate Backup resources have been created for existing backup files. | | `gcSyncPeriod` | metav1.Duration | 60m0s | How frequently Ark queries the object storage to delete backup files that have passed their TTL. | | `scheduleSyncPeriod` | metav1.Duration | 1m0s | How frequently Ark checks its Schedule resource objects to see if a backup needs to be initiated. | -| `resourcePriorities` | []string | `[namespaces, persistentvolumes, persistentvolumeclaims, secrets, configmaps]` | An ordered list that describes the order in which Kubernetes resource objects should be restored (also specified with the `.` format.

If a resource is not in this list, it is restored after all other prioritized resources. | +| `resourcePriorities` | []string | `[namespaces, persistentvolumes, persistentvolumeclaims, secrets, configmaps, serviceaccounts]` | An ordered list that describes the order in which Kubernetes resource objects should be restored (also specified with the `.` format.

If a resource is not in this list, it is restored after all other prioritized resources. | | `restoreOnlyMode` | bool | `false` | When RestoreOnly mode is on, functionality for backups, schedules, and expired backup deletion is *turned off*. Restores are made from existing backup files in object storage. | ### AWS From 4065c0f19412362f5f777a69e0dbe67f62cf4a94 Mon Sep 17 00:00:00 2001 From: Chris Knowles Date: Sat, 26 May 2018 20:22:51 +0800 Subject: [PATCH 2/2] Add limitRanges to default restorePriorities doc Signed-off-by: Chris Knowles --- docs/config-definition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config-definition.md b/docs/config-definition.md index 49789ee51..e49c6e95c 100644 --- a/docs/config-definition.md +++ b/docs/config-definition.md @@ -56,7 +56,7 @@ The configurable parameters are as follows: | `backupSyncPeriod` | metav1.Duration | 60m0s | How frequently Ark queries the object storage to make sure that the appropriate Backup resources have been created for existing backup files. | | `gcSyncPeriod` | metav1.Duration | 60m0s | How frequently Ark queries the object storage to delete backup files that have passed their TTL. | | `scheduleSyncPeriod` | metav1.Duration | 1m0s | How frequently Ark checks its Schedule resource objects to see if a backup needs to be initiated. | -| `resourcePriorities` | []string | `[namespaces, persistentvolumes, persistentvolumeclaims, secrets, configmaps, serviceaccounts]` | An ordered list that describes the order in which Kubernetes resource objects should be restored (also specified with the `.` format.

If a resource is not in this list, it is restored after all other prioritized resources. | +| `resourcePriorities` | []string | `[namespaces, persistentvolumes, persistentvolumeclaims, secrets, configmaps, serviceaccounts, limitranges]` | An ordered list that describes the order in which Kubernetes resource objects should be restored (also specified with the `.` format.

If a resource is not in this list, it is restored after all other prioritized resources. | | `restoreOnlyMode` | bool | `false` | When RestoreOnly mode is on, functionality for backups, schedules, and expired backup deletion is *turned off*. Restores are made from existing backup files in object storage. | ### AWS