Steve Kriss
40fff6e3ee
Merge pull request #112 from ncdc/hooks-exec
...
Add backup pod exec hooks
2017-10-20 09:00:24 -07:00
Andy Goldstein
901f8e1302
Add pod exec backup hooks
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-20 10:20:59 -04:00
Steve Kriss
b7c35551d7
Merge pull request #141 from lli-hiya/config-definition-update
...
kmsKeyID should be kmsKeyId
2017-10-19 16:04:41 -07:00
Liang
df31561c6c
kmsKeyID should be kmsKeyId
...
Signed-off-by: Liang <lli@hiya.com>
2017-10-19 15:51:14 -07:00
Andy Goldstein
efcb32059a
Update to latest stretchr/testify master
...
Need to pick up the mock spewconfig settings to ignore pointer address
differences.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-19 13:22:03 -04:00
Andy Goldstein
09c802e501
Vendor kube pod exec code
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-19 13:22:03 -04:00
Andy Goldstein
bb5088f515
Merge pull request #132 from dgoodwin/ordering
...
Restructure backup format for resource prioritization
2017-10-17 14:17:48 -04:00
Devan Goodwin
ed0194c09b
Restructure backups for resource prioritization.
...
Previously the directory structure separated resources depending on
whether or not they were cluster or namespace scoped. All cluster
resources were restored first, then all namespace resources. Priority
did not apply across both and you could not order any namespace
resources before any cluster resources.
This restructure sorts firstly on resource type.
resources/serviceaccounts/namespaces/ns1.json
resources/nodes/cluster/node1.json
This will break old backups as the format is no longer consistent as
announced on the Google group.
Signed-off-by: Devan Goodwin <dgoodwin@redhat.com>
2017-10-17 08:49:05 -03:00
Andy Goldstein
4fe50ed782
Merge pull request #128 from skriss/include-cluster-resources
...
add --include-cluster-resources flag to "ark backup create"
2017-10-12 10:42:54 -04:00
Steve Kriss
4085e473e1
additional deployment/networkpolicy cases for TestBackupResource
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 15:05:12 -07:00
Steve Kriss
07b33ace57
add --include-cluster-resources flag to backup create cmd
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 15:05:12 -07:00
Andy Goldstein
12cf05568b
Merge pull request #129 from abiogenesis-now/jyao/reword-contributors
...
[license] Reword authors in contributors.md
2017-10-11 15:23:31 -04:00
Jessica Yao
ec34204cba
reword authors in contributors.md
...
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-10-11 12:20:17 -07:00
Andy Goldstein
2a975a2547
Merge pull request #65 from skriss/cluster-resource-selection
...
when backing up PVCs, also back up claimed PVs
2017-10-11 13:22:42 -04:00
Steve Kriss
9438a8670a
when backing up PVCs, also back up claimed PVs
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-11 09:54:57 -07:00
Andy Goldstein
388be34a04
Merge pull request #127 from abiogenesis-now/jyao/contributing/typo-fix
...
[license] Fix typo in contributing.md
2017-10-11 12:35:11 -04:00
Jessica Yao
1ba2d4613d
fix typo in contributing.md
...
Signed-off-by: Jessica Yao <jessica@heptio.com>
2017-10-11 09:29:42 -07:00
Andy Goldstein
2abeae911a
Merge pull request #123 from skriss/switch-backup-restore-log-impl
...
switch per-backup/restore logs to use logrus
2017-10-10 17:17:26 -04:00
Steve Kriss
fa427ebcfd
switch to logrus for per-backup/restore logs
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 14:11:21 -07:00
Andy Goldstein
df3c51416a
Merge pull request #122 from skriss/logging-fixes
...
logging improvements
2017-10-10 16:18:55 -04:00
Steve Kriss
7c0d9dcfce
add missing licenses
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 13:14:03 -07:00
Steve Kriss
e7c62b5f38
add file/line numbers to logs
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 13:14:03 -07:00
Steve Kriss
9f3ce8ab1a
add log-level flag to server command
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 13:14:03 -07:00
Steve Kriss
6cf60e5344
remove verbose/stderr glog flags
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 12:10:42 -07:00
Andy Goldstein
76c1f5e469
Merge pull request #126 from skriss/snapshot-logging-tweaks
...
tweak volume snapshot action logging messages
2017-10-10 14:19:39 -04:00
Steve Kriss
82655b8359
tweak volume snapshot action logging messages
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-10 11:10:50 -07:00
Steve Kriss
d042fe3ebe
Merge pull request #125 from ncdc/faq-followup
...
FAQ follow-up
2017-10-10 10:16:40 -07:00
Steve Kriss
d27b16370c
Merge pull request #102 from ashish-amarnath/support-multi-az-pvs
...
Preserve AWS & GCP volume AZ when snapshotting and restoring PVs.
2017-10-10 10:08:57 -07:00
Andy Goldstein
2b82c96f26
FAQ follow-up
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-10-10 11:00:44 -04:00
Andy Goldstein
a85a991b0e
Merge pull request #113 from julia-stripe/faq
...
Add a FAQ
2017-10-10 10:53:40 -04:00
ashish-amarnath
6dc81b42f5
Merge branch 'master' into support-multi-az-pvs
...
Signed-off-by: Ashish Amarnath <ashish.amarnath@gmail.com>
2017-10-06 23:24:41 -07:00
Ashish Amarnath
9fc9dbb413
Preserve PV's AZ info when snapshotting and restoring PVs.
...
- Read PV's AZ info from fault-domain label of the PV object for snapshotting.
- Store PV's AZ info in the VolumeInfo.
- Add tests for reading the label from the PV object.
- Remove availability zone validation in AWS and GCP BlockStorageAdaptor.
- Add volumeAZ as a parameter to methods in the BlockStorageAdapter interface.
- Get AZ from VolumeInfo when restoring PV snapshot.
- Remove references to PV availability zone in docs.
Signed-off-by: Ashish Amarnath <ashish.amarnath@gmail.com>
2017-10-06 23:24:41 -07:00
Andy Goldstein
9f9908f9cd
Merge pull request #99 from jrnt30/non-restorable-resources
...
Excluding nodes from restoration
2017-10-06 12:02:01 -04:00
Justin Nauman
1fd1e8deaa
Excluding nodes and endpoints from restoration
...
- Introduced a blacklist of resources that are non-restorable. The
goal being that the backup can still include these resources for
logging/auditing purposes but they are explicitly added to
ExcludedResources in the RestorController's "defaulting" logic
to ensure that if someone were to explicitly ask for nodes
that they would be expressly denied.
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-10-05 22:37:29 -05:00
Andy Goldstein
87f60ed853
Merge pull request #98 from skriss/logrus
...
migrate from glog to logrus and errors to pkg/errors
2017-10-05 12:06:47 -04:00
Steve Kriss
9ac71b03cc
add logrus hook to log error file/line/function from stack traces
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-05 08:49:33 -07:00
Steve Kriss
914165095a
switch logging to logrus and errors to pkg/errors
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-05 08:49:33 -07:00
Steve Kriss
791a06d6d4
vendor pkg/errors
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-10-05 08:46:49 -07:00
Julia Evans
36d5d501f6
reword again
...
Signed-off-by: Julia Evans <julia@stripe.com>
2017-10-04 14:04:26 -07:00
Julia Evans
cf71544276
fix typo
...
Signed-off-by: Julia Evans <julia@stripe.com>
2017-10-04 13:54:42 -07:00
Julia Evans
bbef7a3e33
address comments
...
Signed-off-by: Julia Evans <julia@stripe.com>
2017-10-04 13:42:36 -07:00
Julia Evans
62b32dad1d
Add a FAQ
...
Signed-off-by: Julia Evans <julia@stripe.com>
2017-10-04 13:37:11 -07:00
Steve Kriss
2683ead44e
vendor logrus
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2017-09-25 10:23:35 -07:00
Andy Goldstein
62ab21f849
Merge pull request #100 from timoreimann/patch-1
...
README: Mention Ark Slack channel.
2017-09-21 06:10:05 -07:00
Timo Reimann
d4244b3d9e
README: Mention Ark Slack channel.
...
Signed-off-by: Timo Reimann <ttr314@googlemail.com>
2017-09-21 07:15:33 +02:00
Steve Kriss
a5d4d138b2
Merge pull request #96 from ncdc/fix-config-watch
...
Make config change detection more robust
2017-09-19 09:57:52 -07:00
Andy Goldstein
024f65579c
Merge pull request #69 from jrnt30/user-agent
...
Adding in customized user-agent
2017-09-19 09:51:57 -07:00
Justin Nauman
97f8f2426f
Addressing PR feedback and adding tests
...
Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
2017-09-18 17:42:16 -05:00
Andy Goldstein
84fa48d57a
Make config change detection more robust
...
Fix 2 issues with config change detection:
- Objects received via Get() don't have kind and apiVersion set, while
those from Watch() do, leading to false positives.
- Compare the unmodified config (prior to applying defaults) to the
updated one from Watch().
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2017-09-14 17:12:32 -04:00
Steve Kriss
36b1d9378e
Merge pull request #91 from ncdc/tag-v0.4.0
...
Bump to v0.4.0
2017-09-14 08:32:21 -07:00