Adnan Abdulhussein
d5df3cb2b6
design doc template: remove status field
...
After discussing with the team, it doesn't make sense for all design proposals to have a draft/accepted status. Currently draft proposals can be kept open as PRs and all merged proposals are considered to be accepted. Removing the status field here removes the extra step of having to update the proposal status before merging.
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-29 16:33:44 -07:00
Steve Kriss and KubeKween
e210626a36
create pkg/archive with functionality extracted from pkg/restore ( #1801 )
...
* move pkg/restore's backup extractor to pkg/archive
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-28 18:03:01 -07:00
Steve Kriss and Adnan Abdulhussein
60f9898ca0
restore: rename PV when remapping a namespace if PV exists in-cluster ( #1779 )
...
* rename PV during restore when cloning a namespace
Signed-off-by: Steve Kriss <krisss@vmware.com >
* rename func and vars, switch to if..else
Signed-off-by: Steve Kriss <krisss@vmware.com >
* make pv renamer func configurable for testing purposes
Signed-off-by: Steve Kriss <krisss@vmware.com >
* add unit test cases
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
* address review feedback
Signed-off-by: Steve Kriss <krisss@vmware.com >
* address review feedback
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-27 16:42:38 -07:00
Steve Kriss and Adnan Abdulhussein
ef911ff21b
when backing up PVCs with restic, explicitly specify --parent ( #1807 )
...
* when backing up PVCs with restic, explicitly specify --parent
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
* address review feedback
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-27 16:37:51 -07:00
KubeKween and Adnan Abdulhussein
6b66a49a21
Unit tests for restic restore ( #1747 )
...
* Add unit tests for PVB restore functionality
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Add tests for restore action
Signed-off-by: Carlisia <carlisiac@vmware.com >
* TestRestoreWithRestic wip
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Fix build
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Mockery
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Cleanup mocks
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Remove unused mock
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Use consistent pattern for test building
Signed-off-by: Carlisia <carlisia@vmware.com >
* Test cleanup
Signed-off-by: Carlisia <carlisia@vmware.com >
* Better godoc
Signed-off-by: Carlisia <carlisia@vmware.com >
* Improve test cases
Signed-off-by: Carlisia <carlisia@vmware.com >
* Fix build
Signed-off-by: Carlisia <carlisia@vmware.com >
* Minor test cleanup
Signed-off-by: Carlisia <carlisia@vmware.com >
* New pvb test input names
Signed-off-by: Carlisia <carlisia@vmware.com >
2019-08-27 15:49:23 -07:00
Adnan Abdulhussein and KubeKween
7ea065a94f
Upgrade kubernetes dependencies to 1.15.3 ( #1808 )
...
* bump kubernetes dependency to 1.15.3
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-27 13:58:15 -07:00
Adnan Abdulhussein and KubeKween
6aa0215137
create backups from schedules using velero create backup ( #1734 )
...
* add --from-schedule to `velero backup create` to create backups from schedules
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-23 13:03:51 -07:00
Steve Kriss and Adnan Abdulhussein
686f41ebec
remove calls to restic check before/after prune ( #1794 )
...
* remove calls to restic check before/after prune
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-23 10:53:00 -07:00
Nolan Brubaker and GitHub
3a0c1be7f0
Merge pull request #1742 from skriss/validate-restic-repo-id
...
Allow BSLs to specify restic repo prefixes, error if the prefix can't be determined
2019-08-23 11:27:00 -04:00
Steve Kriss and GitHub
fc8ca5d8bf
Merge pull request #1759 from nrb/feature-flags
...
Feature flag design
2019-08-23 08:48:39 -06:00
Nolan Brubaker
38643f2f4a
Propose adding feature flags to velero
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-08-23 10:41:35 -04:00
Adnan Abdulhussein and Steve Kriss
86408bf805
restic backup and restore progress proposal ( #1765 )
...
* restic backup and restore progress proposal
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* update approach to lookup based on files rather than total size
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* typo
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* record TotalBytes and BytesDone in PodVolumeBackup/Restore and calculate percentage in UI
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* update to go with restic stats approach for restore
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* typo
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* update high-level design for restic stats
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* wait for bytes_done
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* change status to accepted
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-22 10:47:38 -06:00
Steve Kriss
32d46871cc
allow custom restic repo prefix to be specified in BSL config
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-22 10:19:22 -06:00
Steve Kriss
8b6c505817
error if restic repo identifier can't be determined
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-22 10:19:22 -06:00
Steve Kriss and GitHub
00882c2de4
Merge pull request #1790 from skriss/bump-nokogiri-dep
...
update nokogiri dep for website
2019-08-22 10:00:01 -06:00
Steve Kriss
124ca44958
update nokogiri dep for website
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-22 09:55:12 -06:00
Steve Kriss and GitHub
efc0be5e48
Merge pull request #1781 from mesosphere/fix_url
...
fix error formatting
2019-08-22 09:32:14 -06:00
Steve Kriss and KubeKween
cd901ed9a7
update links on website home page for latest release ( #1789 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-22 08:01:36 -07:00
Steve Kriss and GitHub
017f7cff46
Merge pull request #1783 from jonasrosland/velero-1.1
...
Velero 1.1 blog post
2019-08-22 08:50:03 -06:00
Steve Kriss and GitHub
a357f21aec
Merge pull request #1778 from skriss/v1.1.0-release
...
v1.1.0 docs & changelog
v1.1.0
2019-08-22 08:34:59 -06:00
Jonas Rosland
b75fadbe2f
Velero 1.1 blog post
...
Signed-off-by: Jonas Rosland <jrosland@vmware.com >
2019-08-21 14:01:22 -07:00
Steve Kriss
dfb225807b
v1.1.0 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-21 15:01:10 -06:00
Steven Chung
8ae40b55ec
fix error formatting
...
would interpret % as printf formatted strings
Signed-off-by: Steven Chung <schung@d2iq.com >
2019-08-21 12:49:59 -04:00
Steve Kriss and GitHub
b1b6a79dfc
Merge pull request #1776 from heptio/revert-1769-ssl
...
Revert "allow self signed certs with insecureSkipVerify"
2019-08-20 12:16:21 -06:00
KubeKween and Carlisia
b25865f5bb
Revert "allow self signed certs with insecureSkipVerify ( #1769 )"
...
This reverts commit 8e35ce0bde .
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-08-20 11:02:27 -07:00
Steve Chung and KubeKween
8e35ce0bde
allow self signed certs with insecureSkipVerify ( #1769 )
...
* patch velero to handle self-signed certs on client
you'll get this error otherwise:
x509: certificate signed by unknown authority
Signed-off-by: Steven Chung <schung@d2iq.com >
2019-08-20 10:29:02 -07:00
Steve Kriss
9e946ee698
v1.1.0 docs
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-20 10:44:57 -06:00
betta1 and Steve Kriss
cfb663f795
Add the prefix to BSL config map so that object stores can use it when initializing ( #1767 )
...
Signed-off-by: Antony Bett <antony.bett@gmail.com >
2019-08-19 14:05:38 -06:00
Nolan Brubaker and GitHub
a0cd954ce9
Merge pull request #1772 from zakkg3/master
...
[DOCS] Add stable/velero to helm commands
2019-08-19 12:44:06 -04:00
Nicolas Kowenski
67203ff972
add stable/velero to helm commands
...
Signed-off-by: Nicolas Kowenski <nico@garufa.ethz.ch >
2019-08-19 10:56:11 +02:00
Nolan Brubaker and GitHub
af4b9373fc
Merge pull request #1762 from skriss/v1.1-beta.2-docs
...
replace v1.1.0-beta.1 docs with v1.1.0-beta.2 docs
v1.1.0-beta.2
2019-08-13 16:39:53 -04:00
Nolan Brubaker and GitHub
90bb939c4d
Merge pull request #1761 from skriss/v1.1-beta.2-changelog
...
v1.1.0-beta.2 changelog
2019-08-13 16:39:04 -04:00
Steve Kriss
c80f679802
replace v1.1.0-beta.1 docs with v1.1.0-beta.2 docs
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-13 13:41:36 -06:00
Steve Kriss
76a91a80b2
v1.1.0-beta.2 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-13 13:38:01 -06:00
Steve Kriss and GitHub
3c8020e922
Merge pull request #1748 from nrb/fix-1743
...
Use custom namespace when creating Velero clients
2019-08-13 12:08:30 -06:00
Nolan Brubaker
dadb466545
Document process for adding VELERO_NAMESPACE
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-08-13 13:42:08 -04:00
Steve Kriss and Adnan Abdulhussein
5ef0a84128
create pod volume backups in backup's namespace during sync ( #1760 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-13 10:20:25 -07:00
Nolan Brubaker
363c2692a1
Use custom namespace when creating Velero clients
...
The Velero deployment did not have a way of exposing the namespace it
was installed in to the API client. This is a problem for plugins that
need to query for resources in that namespaces, such as the restic
restore process that needs to find PodVolume(Backup|Restore)s.
While the Velero client is consulted for a configured namespace, this
cannot be set in the server pod since there is no valid home directory
in which to place it.
This change provides the namespace to the deployment via the downward
API, and updates the API client factory to use the VELERO_NAMESPACE
before looking at the config file, so that any plugins using the client
will look at the appropriate namespace.
Fixes #1743
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-08-13 13:06:12 -04:00
Christian Kotzbauer and Steve Kriss
1670aa17b6
Fix port-forward typo ( #1756 )
...
* doc: fix typo
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com >
* doc: fix typo
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com >
* doc: fix typo
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com >
2019-08-12 11:37:22 -06:00
Nolan Brubaker and GitHub
52e5589b3d
Merge pull request #1705 from skriss/pv-cloning-design
...
draft design doc for cloning PVs while remapping namespaces
2019-08-12 12:33:33 -04:00
Jonas Rosland and Steve Kriss
e576f23c70
Add SEO functionality to the site ( #1753 )
...
* Add SEO functionality to the site
Signed-off-by: Jonas Rosland <jrosland@vmware.com >
* Add some more SEO
Signed-off-by: Jonas Rosland <jrosland@vmware.com >
2019-08-12 10:11:42 -06:00
Adnan Abdulhussein and Steve Kriss
7b7b96de74
velero install: support velero/restic pod cpu/mem requests with unbounded limits ( #1745 )
...
* support velero/restic pod cpu/mem requests with unbounded limits
explicitly treat "0" value as unbounded
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* update flag documentation
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* changelog
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* update restic configmap docs
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-09 12:54:04 -06:00
Nolan Brubaker and GitHub
ad026107c9
Merge pull request #1741 from prydonius/1731-sort-resource-list
...
sort output of resource list in `velero backup describe --details`
2019-08-09 14:35:54 -04:00
Adnan Abdulhussein
92b930d351
sort GVKs in output
...
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-08 15:13:35 -07:00
Adnan Abdulhussein
f18d7300a8
changelog
...
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-08 13:56:48 -07:00
Adnan Abdulhussein
faef20d45a
ensure backup resource list per gvk is sorted
...
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-08 13:53:40 -07:00
Steve Kriss
9b18e238b1
change to approved
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-08 11:21:14 -06:00
Steve Kriss
5917445511
incorporate review feedback
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-08 10:19:34 -06:00
Nolan Brubaker and GitHub
1429f226ed
Merge pull request #1739 from skriss/fix-pvb-upload-bug
...
bug fix: upload pod volume backups from *all* pods to obj storage
2019-08-08 11:42:46 -04:00
Steve Kriss
c69fa4d0e1
bug fix: upload pod volume backups from *all* pods to obj storage
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-08 09:27:46 -06:00