Commit Graph
43 Commits
Author SHA1 Message Date
Jan Mussler ae95c2db6c Recheck version from Patroni IP. (#2533) 2024-02-29 12:12:02 +01:00
Jan Mussler 9d52a95782 User Alpine 3 to stay up to date (#2488)
User Alpine 3 to stay up to date
2024-01-03 16:48:22 +01:00
Jan Mussler b48034d762 Fix major version upgrade return code (#2056)
Fix major version upgrade return code
2022-09-21 15:25:24 +02:00
Jan MusslerandFelix Kunde 3e275d122a Allow individual teams to do auto upgrade via operator. (#1699)
* Allow whitelisting of teams to do auto upgrade upgrade via operator.

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-11-29 12:47:18 +01:00
Jan Mussler d0d7a32d52 Clearing up error on resize failure message. (#1641)
* Clearing up error message.
2021-10-08 17:11:21 +02:00
Jan Mussler 330c2c4c0b Do not modify if values are below gp3 minimum throughput. (#1543)
* Do not modify if values are below gp3 minimum throughput.
2021-06-30 15:01:55 +02:00
Jan Mussler a993300325 Update readme to reflect major version upgrade. (#1488) 2021-05-12 10:50:16 +02:00
Jan Mussler e837751ae0 Log result. (#1387) 2021-02-26 14:54:26 +01:00
Jan Mussler 636a9a8191 Support major version upgrade via manifest and global upgrades via min version (#1372)
Support major version upgrade trigger via manifest. There is `off` `manual` and `full`. Manual is what you expect, and full will auto upgrade clusters below a certain threshold.
2021-02-25 11:42:43 +01:00
Jan Mussler 772f0ca771 Fix volume sync order. (#1340) 2021-02-12 17:36:11 +01:00
Jan Mussler d488ae10a0 Min 2 zalando approvers. (#1338) 2021-01-29 11:12:08 +01:00
Jan Mussler 43168ca622 Also sync volumes on updates. (#1330) 2021-01-25 20:28:37 +01:00
Jan MusslerandFelix Kunde 4a88f00a3f Full AWS gp3 support for iops and througput config. (#1261)
Support new AWS EBS volume type `gp3` with `iops` and `throughput` in the manifest.

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-01-25 10:07:18 +01:00
Jan MusslerandFelix Kunde a63ad49ef8 Initial commit for new 1.6 release with Postgres 13 support. (#1257)
* Initial commit for new 1.6 release with Postgres 13 support.
* Updating maintainers, Go version, Codeowners.
* Use lazy upgrade image that contains pg13.
* fix typo for ownerReference
* fix clusterrole in helm chart
* reflect GCP logical backup in validation
* improve PostgresTeam docs
* change defaults for enable_pgversion_env_var and storage_resize_mode
* explain manual part of in-place upgrade
* remove gsoc docs

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2020-12-17 15:00:29 +01:00
Jan Mussler b88d8e34e1 Fix function name in test (#1250)
* Fix function name in test

Error was somehow introduced in last 2 PRs merged.

* Update volumes_test.go
2020-12-12 00:35:27 +01:00
Jan MusslerandFelix Kunde 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
Jan Mussler c4ae11629b Fix connection pooler deployment selectors (#1213)
Stick with the existing pooler deployment selector labels to make it compatible with existing deployments.

Make the use of additional labels clear and avoid where not needed.

Deployment Selector and Service Selector now do not use extra labels, pod spec does.
2020-11-23 17:18:18 +01:00
Jan Mussler 67d1b4b167 compile coverage report and add badges. (#1218)
Add GH badges, and added coveralls support again.
2020-11-16 12:08:28 +01:00
Jan Mussler 65d1a71cc9 Update README.md (#1217)
Removed all the badges, they don't work anyways and are off.
2020-11-16 10:30:18 +01:00
Jan Mussler a7f453352a Use Github.com actions to run tests and e2e tests. (#1215)
* Use GH action to run tests and end 2 end tests.
* Remove travis.
2020-11-16 10:15:47 +01:00
Jan Mussler 90799d7e7f More output from test watch script. All namespaces and deployments. (#1193) 2020-11-04 16:40:15 +01:00
Jan Mussler 7f7beba66b Improving e2e more (#1185)
* Add curl to operator image.

* Wait for idle operator in delete.
2020-10-29 13:59:22 +01:00
Jan Mussler c694a72352 Make failure in retry a warning not an error. (#1188) 2020-10-29 13:12:25 +01:00
Jan Mussler 3a86dfc8bb End 2 End tests speedup (#1180)
* Improving end 2 end tests, especially speed of execution and error, by implementing proper eventual asserts and timeouts.
* Add documentation for running individual tests
* Fixed String encoding in Patorni state check and error case
* Printing config as multi log line entity, makes it readable and grepable on startup
* Cosmetic changes to logs. Removed quotes from diff. Move all object diffs to text diff. Enabled padding for log level.
* Mount script with tools for easy logaccess and watching objects.
* Set proper update strategy for Postgres operator deployment.
* Move long running test to end. Move pooler test to new functions.
* Remove quote from valid K8s identifiers.
2020-10-28 10:04:33 +01:00
Jan Mussler 0d81f972a1 Added build and node directory to gitignore file. (#1102) 2020-08-12 15:45:00 +02:00
Jan Mussler 6869c2cf1b Added image to readme, added/rewrote features. (#1031)
* Added image to readme, added/rewrote features.
2020-06-23 10:16:40 +02:00
Jan Mussler 5f6abfb797 Rearrange the README. (#520) 2019-03-14 12:48:36 +01:00
Jan Mussler c70905ae8b Modifying some of the logging to be more descriptive. (#440)
* Modifying some of the logging to be more descriptive.
2019-01-08 13:07:36 +01:00
Jan Mussler 7445678261 bump spilo versions. (#439) 2019-01-04 12:25:38 +01:00
Jan Mussler 6e8dcabac7 Update postgres-operator.yaml
Bump manifest to use v1.0.0 operator
2018-08-10 14:17:44 +02:00
Jan M 2bb3bdeeb4 Slimming out README and config map, targeting easy first time deployers to minicube. 2018-05-04 12:20:54 +02:00
Jan M 4f782314aa Add scope section to readme. 2018-03-12 17:34:15 +01:00
Jan Mussler cb55749c1b Update postgres-operator.yaml (#255)
Bump operator image version.
2018-02-26 20:03:56 +01:00
Jan Mussler 56359d23c9 Update README.md (#201) 2018-01-10 18:27:32 +01:00
Jan Mussler 04024f91e4 Update README.md
Removed a bit about the staging only use case and describe our setup.
2017-12-17 16:19:22 +01:00
Jan Mussler a98a7c95c2 Reorganize Readme (#142)
removing parts of config.

* chaning secret name pattern to make things shorter.

* Move section on self building docker image.

* Fix typo.

* Bump image.

* bump version for pdb fix.

* Changes in regards to review.

* Fix xhyve driver link.

* Move to new api, remove service account, not needed for minikube.

* Changed minimal manifest and example to use right file.

* Added service account for operator again, it is needed in pods anyways later.
2017-10-24 20:42:22 +02:00
Jan Mussler 959b483d11 Update README.md (#133) 2017-10-12 18:24:10 +02:00
Jan Mussler cec695d48e Superuser toggle for team members
Make superuser toggleable for team members. Add and "admin" role to team members if superuser is disabled.
2017-10-12 15:01:54 +02:00
Jan Mussler d6393d46cb Merge pull request #117 from zalando-incubator/crd
Replace TPR with CRD
2017-10-09 12:23:07 +02:00
Jan Mussler bd9b0b613a Merge pull request #115 from zalando-incubator/database-name-fix
Adding '_' to allowed chars.
2017-10-05 11:04:33 +02:00
Jan Mussler c4af0ac6a6 Update cluster.go 2017-10-05 10:58:23 +02:00
Jan M 4a1170855a Adding '_' to allowed chars. 2017-10-05 10:53:19 +02:00
Jan Mussler a8440f9ee4 Update README.md
I leave it to you, but postgres vs postgresql is a bit confusing, espacially since the resource is again postgresql
2017-05-12 17:55:50 +02:00