postgres-operator/pkg/cluster
Jan Mussler 549f71bb49
Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242)
* initial commit for gp3 migration.

* Default volume migration done.

* Added Gomock and one test case with mock.

* Dep update.

* more changes for code gen.

* push fake package.

* Rename var.

* Changes to Makefile and return value.

* Macke mocks phony due to overlap in foldername.

* Learning as one goes. Initialize map.

* Wrong toggle.

* Expect modify call.

* Fix mapping of ids in test.

* Fix volume id.

* volume ids.

* Fixing test setup. Late night...

* create all pvs.

* Fix test case config.

* store volumes and compare.

* More logs.

* Logging of migration action.

* Ensure to log errors.

* Log warning if modify failed, e.g. due to ebs volume state.

* Add more output.

* Skip local e2e tests.

* Reflect k8s volume id in test data. Extract aws volume id from k8s value.

* Finalizing ebs migration.

* More logs. describe fails.

* Fix non existing fields in gp2 discovery.

* Remove nothing to do flag for migration.

* Final commit for migration.

* add new options to all places

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2020-12-11 15:52:32 +01:00
..
cluster.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00
cluster_test.go delete secrets of system users too (#974) 2020-05-14 11:34:02 +02:00
connection_pooler.go avoid hard-codeed spilo-role (#1246) 2020-12-09 13:00:06 +01:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go Fix connection pooler deployment selectors (#1213) 2020-11-23 17:18:18 +01:00
database.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
exec.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Introduce PGVERSION (#1172) 2020-11-27 18:49:49 +01:00
k8sres_test.go Introduce PGVERSION (#1172) 2020-11-27 18:49:49 +01:00
pod.go End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
resources.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
sync.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00
types.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
util.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
volumes.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00
volumes_test.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00