wojtekt
2a7978e2be
Merge migrate-if-needed etcd bash script
2020-06-22 20:45:58 +02:00
Kubernetes Prow Robot
bfa6eb1772
Merge pull request #91964 from wenjiaswe/etcdNameComment
...
Add a comment to keep etcd name in sync and change `hostname` to `HOSTNAME`
2020-06-18 19:05:40 -07:00
Wenjia Zhang
0da9c3e379
Add a comment to keep etcd name in sync and change hostname
to HOSTNAME
2020-06-18 11:11:12 -07:00
jingyih
303273d0e9
Update etcd makefile to build 3.4.9 image
2020-06-12 09:20:33 -07:00
Wenjia Zhang
d162e09a26
-a
2020-06-08 19:59:32 -07:00
Davanum Srinivas
c225d13abc
Switch to static bash for etcd
...
- use bash-static and avoid dragging in all of debian-base
- use distroless as the base image
- the shell script needs a `cp` utility, add a go based one for just
files (no support for directories!)
- Rework the calls to `mv` and recursive `cp` in the code
- we don't need to support windows in this container image
- the test case was slightly off as it was assuming that the old
directory was copied into the new directory, but the desired
functionality is that all files in the old directory should be in the
new directory.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 17:05:24 -04:00
jingyih
394df132bd
Update default etcd server to 3.4.7
2020-04-13 14:37:56 -07:00
jingyih
f9e0e4c6b4
Update default etcd server to 3.4.4
2020-03-18 00:27:46 -07:00
Jingyi Hu
706cde51c5
Update default etcd server to 3.4.3
2019-10-28 18:29:37 -07:00
Joe Betz
c92bd5e7b5
Upgrade to etcd server 3.3.17
2019-10-13 17:17:15 -07:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
...
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Davanum Srinivas
f58f126715
Remove support for etcd2 from cluster/images/etcd image
...
Removes etcd2 code and images.
Etcd2 is no longer supported as of 1.13, so rollback and management
tools for etcd2 should not be shipped any longer. If it is still desired
the older versions of the image can be used.
Change-Id: I516c40067f0a57c42d2a6ab4612071c5e556a005
2019-07-11 21:20:24 -04:00
Joe Betz
862b945e5a
Update default etcd server to 3.3.10 for kubernetes 1.13
2018-12-03 11:03:49 -08:00
Jeff Grafton
8d8faa3355
Remove etcd 3.2.18 from the etcd image
2018-09-20 13:05:53 -07:00
Timothy St. Clair
ad2ed0e7df
Update default etcd server to 3.2.24 for kubernetes 1.12
...
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
2018-09-06 10:24:57 -05:00
Krzysztof Siedlecki
e6f14191ce
version typo fix
2018-04-25 12:46:33 +02:00
Joe Betz
a795cb61bc
Bump etcd default server version to 3.2.18
2018-04-11 21:12:44 -07:00
Joe Betz
dc4d92e154
Reimplement migrate-if-needed.sh in go
2018-04-10 09:19:30 -07:00
Joe Betz
e2a25f9b54
Bump to etcd 3.1.12 to pick up critical fix
2018-03-09 14:28:23 -08:00
Shyam Jeedigunta
21f5e69f08
Rollback etcd server version to 3.1.11 due to #60589
2018-03-08 13:07:15 +01:00
Joe Betz
04c6d0ab26
Bump etcd server patch version to 3.2.16
2018-03-05 13:58:51 -08:00
Joe Betz
746e247e87
Add etcd 3.x minor version rollback support to migrate-if-needed.sh
2018-02-12 15:02:02 -08:00
Wojciech Tyczynski
896d53c443
Make etcd prefix configurable in migration script
2017-09-01 15:49:45 +02:00
Kubernetes Submit Queue
bdf78980cc
Merge pull request #49629 from wojtek-t/delete_v2_data_before_3_1_upgrade
...
Automatic merge from submit-queue (batch tested with PRs 50139, 49629)
Remove etcd v2 data when upgrading to 3.1.* version
@jpbetz @lavalamp
2017-08-14 04:01:52 -07:00
Wojciech Tyczynski
b559a95eb2
Remove v2 data when upgrading to 3.1.* version
2017-08-03 14:49:00 +02:00
Wojciech Tyczynski
e050e7a867
Fix etcd migration for HA clusters
2017-08-03 14:43:52 +02:00
Wojciech Tyczynski
a7d2136ce1
Update etcd to 3.0.17 in integration tests
2017-02-23 10:08:50 +01:00
Kubernetes Submit Queue
e62866444f
Merge pull request #41245 from wojtek-t/rollback_2_2_1
...
Automatic merge from submit-queue (batch tested with PRs 41104, 41245, 40722, 41439, 41502)
Change the etcd rollback tool to do rollback to 2.2.1 version.
I did some tests of it and for my 3-node cluster with 1 deployment it worked fine.
But before merging this, we should probably do way more testing (we should rerun tests that @mml was doing for the previous script).
@lavalamp @xiang90
2017-02-15 16:28:08 -08:00
Wojciech Tyczynski
1ce544db9e
Migrate etcd data using correct etcd version in case of previous crash
2017-02-14 11:30:00 +01:00
Wojciech Tyczynski
9e1a37061c
Change migration tool to rollback to 2.2.1
2017-02-10 13:56:01 +01:00
Wojciech Tyczynski
5c0c445b7b
Backup etcd only before migration
2017-02-10 11:29:45 +01:00
Wojciech Tyczynski
3255898fba
Fail etcd migration script if env var are unset
2017-02-08 10:40:24 +01:00
Matt Liggett
cc7c142011
Add --force-new-cluster when running etcd for migrations.
...
This is required to avoid etcd trying to create quorum during
migrations.
2017-01-30 14:22:53 -08:00
Xiang Li
f63bb69b20
etcd: fix rollback
2016-11-22 15:32:04 -08:00
Kubernetes Submit Queue
63ae7a02fa
Merge pull request #36783 from mml/migrate-debug
...
Automatic merge from submit-queue
Add debug logging to all etcd migration operations.
2016-11-16 00:31:42 -08:00
Kubernetes Submit Queue
fedf17826b
Merge pull request #36738 from wojtek-t/fix_rollback_etcd3
...
Automatic merge from submit-queue
Remove v2 data before etcd rollback
Fix #36555
2016-11-15 16:09:15 -08:00
Matt Liggett
fd289c2d55
Add debug logging to all etcd migration operations.
2016-11-15 15:41:42 -08:00
Wojciech Tyczynski
2bccbafb6d
Set --name flag in etcd migration script
2016-11-15 10:27:02 +01:00
Wojciech Tyczynski
c42729e967
Remove v2 data before etcd rollback
2016-11-15 09:03:49 +01:00
Wojciech Tyczynski
83d83ebb47
Fix ports in migration script
2016-11-14 12:17:34 +01:00
Kubernetes Submit Queue
4b66d80e85
Merge pull request #36218 from wojtek-t/backup_before_migration
...
Automatic merge from submit-queue
Backup before migration
Do backup before etcd migration.
Ref #20504
2016-11-07 08:34:19 -08:00
Wojciech Tyczynski
b34ac6baef
Bump etcd to 3.0.14 in tests
2016-11-07 08:41:17 +01:00
Wojciech Tyczynski
6b12f0bbce
Backup before migration
2016-11-04 13:36:43 +01:00
Wojciech Tyczynski
5b0389948f
Fix collisions between different etcds during migration.
2016-11-02 21:48:26 +01:00
Wojciech Tyczynski
dc6571a5b2
Extend etcd migration logs
2016-11-02 13:59:34 +01:00
Kubernetes Submit Queue
cda55a7847
Merge pull request #35783 from wojtek-t/support_rollback
...
Automatic merge from submit-queue
Better logging and support for running non-default version from etcd image
Ref #20504
2016-10-31 04:06:52 -07:00
Wojciech Tyczynski
62299921b5
Correctly support custom etcd migration
2016-10-31 09:03:39 +01:00
Wojciech Tyczynski
543c2c20ac
Update etcd in tests to 3.0.13
2016-10-27 15:06:08 +02:00
Wojciech Tyczynski
44e66a97f3
Fix migration script
2016-10-27 10:17:56 +02:00
Wojciech Tyczynski
ff1f002f59
Add rollback tool to etcd image
2016-10-12 08:59:15 +02:00