Andy Goldstein and Carlisia
01d0b026e9
Fail backup if it already exists in object storage
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2019-04-22 15:22:58 -07:00
Andy Goldstein and GitHub
1675943f44
Merge pull request #1184 from nrb/rename-ark-to-velero
...
Rename Ark to Velero!!!
2019-02-05 10:41:20 -05:00
Andy Goldstein and GitHub
bbc6caf7fe
Merge pull request #1180 from skriss/fix-version-mode
...
change mode on metadata/version to 0755
2019-02-01 10:17:13 -05:00
Andy Goldstein and GitHub
e61d3c6ca0
Merge pull request #1174 from The-smooth-operator/kube2iam_docs
...
extend AWS NoCredentialsProviders troubleshooting docs with kube2iam …
2019-01-28 14:56:09 -05:00
Andy Goldstein and GitHub
78cb813210
Merge pull request #1163 from apoplawski/documentation-add-info-on-protoc
...
Added protoc-gen-go version info
2019-01-24 12:18:43 -05:00
Andy Goldstein and GitHub
f90b8f9473
Merge pull request #1116 from skriss/status-crd
...
add server version to `ark version` output
2019-01-23 15:01:22 -05:00
Andy Goldstein and GitHub
5847dcabba
Merge pull request #1117 from wwitzel3/issue-134
...
Add backup-version file in backup tarball
2019-01-22 09:01:34 -08:00
Andy Goldstein and GitHub
fd8bf14bb6
Merge pull request #1090 from dobozysaurus/issue-502
...
Added GOFLAGS support
2019-01-03 15:20:26 -05:00
Andy Goldstein and GitHub
ca107423f0
Merge pull request #1098 from Bradamant3/small-reorg
...
reorganize get started for simplicity, clarity
2019-01-03 15:02:31 -05:00
Andy Goldstein and GitHub
7384cf1115
Merge pull request #1131 from hex108/doc
...
Add note about kubeconfig in doc get-started.md
2019-01-03 15:00:13 -05:00
Andy Goldstein and GitHub
2ed241b0b7
Merge pull request #1124 from skriss/ark-version-changes
...
ark version changes
2018-12-19 16:24:07 -05:00
Andy Goldstein and GitHub
59ca9a3974
Merge pull request #1120 from jwhitcraft/schedule-delete-fix
...
Fix output of Schedule Delete
2018-12-06 15:38:31 -05:00
Andy Goldstein
aa9d96f3b7
Add pprof support to ark server
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-12-05 10:13:39 -05:00
Andy Goldstein
62d8c642d2
Remove default token from all service accounts
...
Instead of only removing the default token from a service account when
it already exists in the cluster, always remove it. If the service
account already exists, continue to do the merging logic.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-12-04 11:41:18 -05:00
Andy Goldstein and GitHub
09042a9015
Merge pull request #1074 from mwieczorek/del-priority
...
Delete spec.priority in pod restore action
2018-11-26 14:05:51 -05:00
Andy Goldstein and GitHub
71214fa640
Merge pull request #1065 from omerlh/brew_ref
...
Added brew reference
2018-11-21 13:36:45 -05:00
Andy Goldstein and GitHub
d85872dfb2
Merge pull request #1069 from gliptak/patch-1
...
Update to go 1.11
2018-11-21 08:39:06 -05:00
Andy Goldstein
9ae861c9e2
Support a separate URL base for pre-signed URLs
...
This allows the Ark server to use one URL for the majority of
communications with S3 (or compatible) object storage, and a different
URL base for pre-signed URLs (for streaming logs, etc. to clients).
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-11-08 14:43:57 -05:00
Andy Goldstein
3788014552
Fix check for non-found PV
...
We were checking for nil, but were getting back an empty
*unstructured.Unstructured{} instead, along with a NotFound error.
Change the logic to check for the NotFound error instead of a nil
object.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-11-08 10:56:14 -05:00
Andy Goldstein and GitHub
cb0e6f4773
Merge pull request #999 from bashofmann/fix-backup-file-deletion-order
...
AWS: Ensure that the order returned by ListObjects is consistent
2018-10-30 15:46:33 -04:00
Andy Goldstein and GitHub
39d9155267
Merge pull request #963 from kmova/patch-1
...
update restic prerequisite with min k8s version
2018-10-25 13:18:03 -04:00
Andy Goldstein
bca585162f
Run 'make update' to update formatting
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-10-23 13:08:42 -04:00
Andy Goldstein
573ce7d0e7
Update formatting script
...
- Pin to a specific revision of goimports
- Use -local flag with goimports to keep ark imports separated
- Correct shellcheck errors
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-10-23 13:01:07 -04:00
Andy Goldstein and GitHub
d0937a3433
Merge pull request #960 from Atul9/return-arguments
...
#959 Update restoreController runRestore function to specify return arguments
2018-10-19 13:03:30 -04:00
Andy Goldstein and GitHub
56da761e68
Merge pull request #962 from domenicrosati/drosati/#424-crds-priority
...
Add CRDs to list of prioritized resources
2018-10-19 09:55:42 -04:00
Andy Goldstein and GitHub
fe51be6713
Merge pull request #926 from shubheksha/fix/329-remove-get-project-gcp
...
Remove logic to get a gcp project
2018-10-11 15:45:40 -04:00
Andy Goldstein and GitHub
190d032551
Merge pull request #837 from mwieczorek/patch-1
...
Enable restoring resources with ownerReference set
2018-10-02 10:57:18 -04:00
Andy Goldstein and GitHub
a28327b47e
Merge pull request #868 from shubheksha/fix/798-remove-generated-cli-docs
...
Remove cli reference docs generation
2018-09-24 15:13:07 -04:00
Andy Goldstein and Steve Kriss
6e53aa0350
Bring back 'make local'
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-08-08 15:55:46 -07:00
Andy Goldstein and Carlisia
c5f5862c9c
Add --wait support to ark backup create
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-08-03 10:42:42 -07:00
Andy Goldstein and Steve Kriss
130512187a
Refactor plugin management
...
Refactor plugin management:
- support multiple plugins per executable
- support restarting a plugin process in the event it terminates
- simplify plugin lifecycle management by using separate managers for
each scope (server vs backup vs restore)
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-07-31 08:34:57 -07:00
Andy Goldstein and Carlisia Pinto
bb8e2e9131
Document how to run the Ark server locally
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-07-06 16:04:14 -07:00
Andy Goldstein and GitHub
efae9792db
Merge pull request #642 from skriss/v0.9.0-changelog
...
update changelog for v0.9.0, v0.8.2, v0.8.3
2018-07-06 11:52:20 -04:00
Andy Goldstein and GitHub
8327536b59
Merge pull request #643 from skriss/restic-docs-updates-v0.9.0
...
update restic docs for v0.9.0 GA release
2018-07-06 11:48:28 -04:00
Andy Goldstein and GitHub
562a719382
Merge pull request #639 from Bradamant3/docs-reorg
...
Docs reorg
2018-07-06 11:18:41 -04:00
Andy Goldstein and GitHub
2999f158db
Merge pull request #550 from skriss/restic-describers
...
Add pod volume backups/restores to ark backup/restore describe
2018-07-05 16:27:36 -04:00
Andy Goldstein
8dd9cded1a
Fix testing arbitrary map key order
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-07-05 16:22:46 -04:00
Andy Goldstein
9db5e36b54
Fix test sorting function
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-07-05 16:08:05 -04:00
Andy Goldstein and GitHub
a70456f5ee
Merge pull request #628 from skriss/restic-units
...
pkg/restic unit tests
2018-07-05 15:01:04 -04:00
Andy Goldstein and GitHub
5ce92adff0
Merge pull request #636 from skriss/restic-set-hostname
...
set --hostname flag for restic backups
2018-07-03 16:49:15 -04:00
Andy Goldstein and GitHub
1857257265
Merge pull request #621 from skriss/update-restic-docs
...
update restic doc
2018-06-29 14:04:22 -04:00
Andy Goldstein and GitHub
eb19228d16
Merge pull request #626 from ncdc/add-backups-restores-to-non-restorable-resources
...
Don't restore backups or restores
2018-06-29 09:53:19 -04:00
Andy Goldstein
fe286ff564
Don't restore backups or restores
...
Add backups and restores the list of non restorable resources. Backups,
if applicable, are synced from object storage by the backup sync
controller. Restores are specific to a cluster and don't have value
moving across clusters.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-28 16:58:09 -04:00
Andy Goldstein and GitHub
1cc99ffa60
Merge pull request #625 from skriss/faq-bucket-per-cluster
...
add FAQ about using a bucket per cluster
2018-06-28 16:53:02 -04:00
Andy Goldstein and GitHub
eaeb9d677e
Merge pull request #608 from skriss/no-pv-snapshot-if-restic-backup
...
don't snapshot volumes that have been backed up with restic
2018-06-28 13:27:30 -04:00
Andy Goldstein and GitHub
539de6d361
Merge pull request #564 from nrb/backup-timing
...
Record backup start and completion times, add timing metrics
2018-06-28 11:37:39 -04:00
Andy Goldstein and GitHub
fa470170cf
Merge pull request #610 from skriss/restic-skip-invalid-volumes
...
log and skip backups for non-existent & hostPath volumes
2018-06-28 10:49:33 -04:00
Andy Goldstein
dd7bdf05f3
Ignore more files
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-28 10:11:23 -04:00
Andy Goldstein
255a991c6e
Stop restoring mirror pods
...
Mirror pods are pods created from static manifest files on a node.
They're mirrored to the apiserver so they're visible when querying the
apiserver for a list of pods, but it's not possible to send a pod
containing the mirror pod annotation to the apiserver and have it be
created successfully. Instead of trying to do this, log a message that
we're skipping restoring the pod because it's a mirror pod.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-28 10:06:55 -04:00
Andy Goldstein and GitHub
51298f84cc
Merge pull request #606 from skriss/restic-auto-manage-repos
...
Automatically manage restic repos
2018-06-27 17:01:27 -04:00
Andy Goldstein and GitHub
e015238e6d
Merge pull request #570 from skriss/restic-controller-improvements
...
Restic controller improvements
2018-06-27 16:44:00 -04:00
Andy Goldstein and GitHub
ee5afe148c
Merge pull request #566 from runyontr/master
...
Minio should support read-only file systems
2018-06-26 13:43:02 -04:00
Andy Goldstein
7c283e5de8
Skip reclaim policy Delete PVs without snapshots
...
If a PV has a reclaim policy of Delete and we didn't create a snapshot
of it, don't restore the PV, as doing so would create a PV whose
underlying volume is incorrect.
Also "reset" any PVCs bound to the PV so they'll be dynamically
provisioned when restored.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-26 10:40:49 -04:00
Andy Goldstein and GitHub
5e28f322cf
Merge pull request #580 from nikhita/add-omitempty-tags
...
Add omitempty tags to optional API fields
2018-06-25 10:32:22 -04:00
Andy Goldstein and GitHub
636b09a548
Merge pull request #569 from skriss/fix-mount-propagation
...
restic: use HostToContainer mount propagation for host-pods volume
2018-06-22 06:23:30 -04:00
Andy Goldstein and GitHub
13344076c2
Merge pull request #563 from skriss/restic-cache-dir
...
add a /scratch emptyDir to ark pods to use for restic cache
2018-06-20 14:59:04 -04:00
Andy Goldstein and GitHub
8306566216
Merge pull request #532 from skriss/restic-repo-crd
...
add ResticRepository CRD and move repo-level actions to a controller
2018-06-20 13:42:32 -04:00
Andy Goldstein and GitHub
f1e82a2fe3
Merge pull request #561 from skriss/enable-local-restic
...
move restic binary into /usr/bin so it's in PATH
2018-06-19 14:59:24 -04:00
Andy Goldstein and GitHub
845c9cfa61
Merge pull request #555 from skriss/simplify-restores
...
get rid of restore staging dir by backing up/restoring within volume dir
2018-06-14 17:15:35 -04:00
Andy Goldstein
cc9140b3cc
Log to stdout instead of stderr
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-14 14:02:12 -04:00
Andy Goldstein and GitHub
7be81fe60e
Merge pull request #546 from skriss/rm-old-donefiles
...
remove existing .ark dir and contents during restic restores
2018-06-14 11:12:31 -04:00
Andy Goldstein and GitHub
bc20398119
Merge pull request #551 from ashish-amarnath/update-metrics-examples
...
Expose metrics server port from container
2018-06-14 07:36:46 -04:00
Andy Goldstein and GitHub
9245e9d5dc
Merge pull request #547 from skriss/restic-rsync
...
use rsync to copy restored data from staging dir to volume dir
2018-06-13 16:56:42 -04:00
Andy Goldstein and GitHub
d1e3688468
Merge pull request #531 from ashish-amarnath/add-backup-metrics
...
Add metrics package to publish metrics
2018-06-13 16:33:30 -04:00
Andy Goldstein and GitHub
3db7c038a5
Merge pull request #545 from skriss/update-restic-instructions
...
update restic setup instructions
2018-06-12 15:23:50 -04:00
Andy Goldstein and GitHub
6da32a4955
Merge pull request #544 from ae-v/master
...
fix typo and whitespace chars in docs
2018-06-12 09:34:26 -04:00
Andy Goldstein
a522a96789
Add TAG_LATEST support to Makefile
...
Only tag an image as "latest" if TAG_LATEST is set to "true".
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-11 15:00:15 -04:00
Andy Goldstein and GitHub
3177140db0
Merge pull request #541 from skriss/rename-init-container
...
rename restic-init-container to ark-restic-restore-helper
2018-06-11 13:57:14 -04:00
Andy Goldstein and GitHub
453b0a04f4
Merge pull request #540 from skriss/restic-v0.9.1
...
upgrade to restic v0.9.1
2018-06-11 13:16:17 -04:00
Andy Goldstein and GitHub
459fe663ee
Merge pull request #534 from skriss/rm-complete-restore-sh
...
replace complete-restore.sh with go code
2018-06-11 13:00:46 -04:00
Andy Goldstein and GitHub
e1cf244592
Merge pull request #537 from skriss/optimize-dockerfile
...
Dockerfile: move restic fetch before ark add so it can be cached
2018-06-11 12:28:26 -04:00
Andy Goldstein and GitHub
d9924e0f3f
Merge pull request #535 from skriss/rename-restic-daemonset
...
rename ark daemonset to ark restic server
2018-06-11 12:28:05 -04:00
Andy Goldstein and GitHub
0396ca1dee
Merge pull request #526 from yastij/ignore-resources-terminating
...
ignore terminating resources while doing a backup
2018-06-08 11:10:59 -04:00
Andy Goldstein and GitHub
c0cf61912d
Merge pull request #533 from skriss/fix-init-repo-key-data
...
ark restic init-repository: use key data if provided
2018-06-07 13:39:18 -04:00
Andy Goldstein and GitHub
e3d6902ede
Merge pull request #530 from skriss/restic-quickstart-doc
...
restic quickstart doc for alpha testing
2018-06-06 15:33:43 -04:00
Andy Goldstein and GitHub
ed2d7b445c
Merge pull request #508 from skriss/real-restic
...
restic integration with Ark
2018-06-06 13:24:56 -04:00
Andy Goldstein
86b9cc6d15
BackupItemActionPlugin: handle nil updatedItem
...
Handle the case where a BackupItemAction may return nil for updatedItem,
meaning "no modifications to the item". The backupPVAction does this,
and we were panicking instead of accepting it.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-06-01 14:03:32 -04:00
Andy Goldstein and GitHub
4e2a77d683
Merge pull request #518 from mattkelly/readme-selector-fix
...
Fix selector syntax in backup example
2018-05-29 10:10:34 -04:00
Andy Goldstein and GitHub
10d6dd006a
Merge pull request #517 from c-knowles/bug/doc-default-resourcePriorities
...
Correct default restorePriorities docs
2018-05-26 08:47:00 -04:00
Andy Goldstein and GitHub
6dbde599bf
Merge pull request #514 from carlpett/post-hooks-after-error
...
Run post-hooks even if backup actions fail
2018-05-23 13:37:28 -04:00
Andy Goldstein and GitHub
18e2401e79
Merge pull request #455 from skriss/remove-aws-region
...
AWS: remove region requirement from config for backupStorageProvider
2018-05-23 11:02:57 -04:00
Andy Goldstein
849297e623
Fix copyright date, add happy path test case
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-05-23 09:59:32 -04:00
Andy Goldstein and GitHub
92e9d307a5
Merge pull request #510 from nrb/failed-backup-upload-491
...
Fail backup if object store upload fails
2018-05-23 09:55:11 -04:00
Andy Goldstein and GitHub
5ff582ec42
Merge pull request #501 from dhananjaysathe/downstream
...
Add documentation on how to use a selector negation
2018-05-22 17:24:42 -04:00
Andy Goldstein and GitHub
8ce2006814
Merge pull request #506 from marpaia/config-options
...
Add functional options for the Ark config install library
2018-05-22 14:19:45 -04:00
Andy Goldstein and GitHub
aeb5f6d832
Merge pull request #437 from marpaia/install-api
...
Add library code to install required server components
2018-05-18 16:48:42 -04:00
Andy Goldstein and GitHub
2fde1f5fc1
Merge pull request #500 from nrb/fix-497
...
Exit when failing to update a backup's phase
2018-05-17 14:23:41 -04:00
Andy Goldstein and GitHub
3a746a3f73
Merge pull request #496 from nrb/fix-477
...
Check restore Phase before downloading logs
2018-05-17 13:23:23 -04:00
Andy Goldstein and GitHub
f288902e3e
Merge pull request #490 from skriss/jsonpatch
...
Use JSON merge patches everywhere
2018-05-17 13:02:47 -04:00
Andy Goldstein and GitHub
ad93135adb
Merge pull request #483 from skriss/graceful-shutdown-on-sigs
...
shutdown gracefully on SIGINT/SIGTERM
2018-05-15 14:33:09 -04:00
Andy Goldstein and GitHub
67263d2652
Merge pull request #486 from nrb/fix-475
...
Filter on resources that support get & delete
2018-05-15 10:58:56 -04:00
Andy Goldstein and GitHub
014c0e2c4c
Merge pull request #485 from skriss/fix-cohab
...
use new cohabitatingResources map for each backup
2018-05-14 15:02:33 -04:00
Andy Goldstein and GitHub
5bfd4f64db
Merge pull request #482 from skriss/add-cohab-resources
...
add replicasets and daemonsets to cohabitating resources
2018-05-11 10:02:10 -04:00
Andy Goldstein and GitHub
9fc1711d45
Merge pull request #480 from skriss/fix-azure-setup
...
Azure: fix issues with setup instructions on macOS
2018-05-09 16:56:51 -04:00
Andy Goldstein and GitHub
43b1f9a19e
Merge pull request #418 from skriss/refactor-patch-tests
...
use typed structs for decoding patch JSON in unit tests
2018-05-09 15:44:21 -04:00
Andy Goldstein and GitHub
ea83ed32f5
Merge pull request #470 from skriss/backup-cluster-roles-and-bindings
...
backups: include clusterroles/bindings that reference serviceaccounts
2018-05-09 13:21:13 -04:00
Andy Goldstein and GitHub
50a5550291
Merge pull request #478 from skriss/osx-build-perf-fix
...
when building on macOS, bind-mount volumes with delegated config
2018-05-09 10:36:14 -04:00
Andy Goldstein and GitHub
ef5ac7fd05
Merge pull request #463 from nrb/fix-454
...
Don't restore completed pods or jobs
2018-05-09 09:59:34 -04:00
Andy Goldstein and GitHub
3f3deda3d4
Merge pull request #479 from skriss/image-tagging-doc
...
add image-tagging policy doc
2018-05-09 09:15:38 -04:00
Andy Goldstein and GitHub
c4bb6501ca
Merge pull request #476 from skriss/dep-cleanup
...
Dep cleanup
2018-05-07 23:33:06 +02:00