erthalion
332db3bbda
Fix tests
2018-07-09 11:24:08 +02:00
erthalion
f9c10b3d00
Adjust naming and prevent a flag reset
2018-07-09 10:45:05 +02:00
erthalion
4dcf2cae40
Refactor comparison of sts and volume claims
2018-06-28 16:03:36 +02:00
erthalion
4f97441b53
Factor out some common code in actions implementation.
...
Get rid of hash as it's unnecessary.
2018-06-18 11:29:09 +02:00
erthalion
bbff2cce09
Something like a "dry run mode"
2018-06-13 14:43:31 +02:00
erthalion
63bca66187
Adjust actions usage over the sync code
2018-06-13 14:43:31 +02:00
erthalion
28f8bfc8ce
Use correct action type
2018-06-13 14:43:31 +02:00
erthalion
2b0ed1ab9f
Base implementation of process for actions
2018-06-13 14:43:31 +02:00
erthalion
bd0cd62151
Adjust critical flag
2018-06-13 14:43:31 +02:00
erthalion
627bb51a0c
Use interfaces
2018-06-13 14:43:31 +02:00
erthalion
2081fc47f1
Experiments with actions
2018-06-13 14:43:31 +02:00
Oleksii Kliukin
d9d2c5cbe5
Minor formatting fix
2018-06-13 12:32:56 +02:00
Oleksii Kliukin
5d02c57e04
Docs/reference ( #323 )
...
Document operator command-line options and environment variables.
2018-06-12 19:12:11 +02:00
Oleksii Kliukin
b518a31d0c
Document cluster manifests. ( #320 )
...
Document cluster manifests options.
Review by @erthalion and @zerg-junior.
2018-06-12 11:57:00 +02:00
Oleksii Kliukin
9cb48e0889
Document operator configuration parameters. ( #313 )
2018-06-08 13:21:57 +02:00
Dmitry Dolgov
c26962ba62
Merge pull request #315 from zalando-incubator/feature/doc-volume-increase
...
Add section about volume increase
2018-06-07 13:46:08 +02:00
erthalion
df40cd831d
Adjust the wording
2018-06-07 10:25:50 +02:00
erthalion
dab6c01cc7
Change and clarify wording
2018-06-06 17:36:21 +02:00
erthalion
4d20a38106
Add section about volume increase
2018-06-05 11:42:01 +02:00
Dmitry Dolgov
681656cbb7
Merge pull request #312 from zalando-incubator/feature/doc-clone
...
Add an example of clone feature
2018-06-04 16:26:44 +02:00
erthalion
2a05179f63
Adjust article for title
2018-06-04 16:17:48 +02:00
erthalion
d0e6932641
Adjustments for clone section
2018-06-04 15:36:17 +02:00
Oleksii Kliukin
59795d48d2
Merge pull request #314 from zalando-incubator/volume_resize_with_multiple_containers
...
Fix exec into pods to resize volumes for multi-container pods.
2018-06-04 15:34:05 +02:00
Oleksii Kliukin
04b660519a
Fix exec into pods to resize volumes for multi-container pods.
...
The original code assumed only one container per pod.
2018-06-04 14:51:39 +02:00
erthalion
5151b43c82
Split into two parts and reformulate a bit
2018-06-04 13:41:18 +02:00
erthalion
e661ea1ea7
Mention `uid` field
2018-06-01 16:44:57 +02:00
erthalion
b82faf66bb
Unrelated chaotic good adjustments of snippets
2018-06-01 16:21:37 +02:00
erthalion
07d9dff847
Add an example of clone feature
2018-06-01 16:15:42 +02:00
Dmitry Dolgov
6ee0349536
Merge pull request #309 from zalando-incubator/feature/split-documentation
...
Split already existing documentation into parts
2018-06-01 15:49:21 +02:00
erthalion
69c8d3784a
Use PostgreSQL specifically
2018-06-01 13:29:09 +02:00
erthalion
f356225c04
Change to user/admin/developer
2018-06-01 11:32:50 +02:00
Oleksii Kliukin
16a710a99a
Avoid possible skipping SYNC events.
...
OB1 bug in the condition deciding whether to sync.
2018-05-31 18:29:15 +02:00
erthalion
86f87ac31e
Add links to subdocuments
2018-05-31 14:03:01 +02:00
erthalion
749085b29a
Split already existing documentation into parts
...
To improve the documentation we need to split it into smaller parts:
* quickstart (in the readme)
* general concepts
* tutorials
* how to
* references
And then add the missing information. So far I just split the existing
documentation and left references almost empty. I assume that references
may duplicate the rest of the documentation in a way that the doc will
have references to this section, that contains all the formal details.
2018-05-31 11:23:29 +02:00
Oleksii Kliukin
48a5744314
Use Patroni API to set bootstrap-only options. ( #299 )
...
Call Patroni API /config in order to set special options that are
ignored when set in the configuration file, such as max_connections.
Per https://github.com/zalando-incubator/postgres-operator/issues/297
* Some minor refacoring:
Rename Cluster ManualFailover to Swithover
Rename Patroni Failover to Switchover
Add more details to error messages and comments introduced in this PR.
Review by @zerg-junior
2018-05-29 12:35:25 +02:00
zerg-junior
24df918dda
Merge pull request #306 from zalando-incubator/update-default-spilo
...
Bump up default Spilo image
2018-05-28 17:02:38 +02:00
Sergey Dudoladov
2e041c50e6
Bump up default Spilo image
2018-05-28 16:54:27 +02:00
zerg-junior
844a55ab4a
Merge pull request #305 from zalando-incubator/zerg-junior-patch-3
...
Update postgres-operator.yaml
2018-05-25 14:07:41 +02:00
zerg-junior
69e4ae2d95
Update postgres-operator.yaml
...
Tags are of fixed length (not arbitrary long prefixes of commit hashes)
2018-05-25 12:59:12 +02:00
zerg-junior
9c86f8bd96
Fix conf for minikube ( #301 )
...
* Bump up a Spilo version to use Patroni >= v1.4.4 ; this fixes issues with k8s 1.10 API changes
* Bump up an operator version to use the new 'etcd_host' default value
* Re-use 'zalando-postgres-operator' as a pod service account and add extra RBAC permissions to make it work
* Document in quickstart connecting to Postgres via psql
2018-05-25 12:25:42 +02:00
zerg-junior
1352c4a5e2
Merge pull request #302 from zalando-incubator/fix-etcd-host-default
...
Fix etcd_host default
2018-05-24 17:17:20 +02:00
Manuel Gómez
32a1456a68
Update config.go
2018-05-24 16:58:46 +02:00
Sergey Dudoladov
749d723f55
Shorten the commen
2018-05-24 16:22:13 +02:00
Sergey Dudoladov
9824ddae5e
Fix etcd_host default
2018-05-24 16:05:45 +02:00
Oleksii Kliukin
97d1bde5b6
Merge pull request #300 from zalando-incubator/fix_crash_on_node_migration
...
Fix a crash on node migration.
2018-05-24 11:40:33 +02:00
Oleksii Kliukin
76ea754fc3
Be lenient when asked to shrink a persisten volume.
...
Do not hard error, emit a warning instead. The cluster is not going
to be broken because of our refusal to shrink a volume.
2018-05-24 11:17:42 +02:00
Oleksii Kliukin
1ea8b3bbe6
Fix a crash on node migration.
...
After an unsuccessful initial cluster sync it may happen that the
cluster statefulset is empty. This has been made more likely since
88d6a7be3 , since it has introduced syncing volumes before statefulsets,
and the volume sync mail fail for different reasons (i.e. the volume has
been shrinked, or too many calls to Amazon).
2018-05-24 11:05:19 +02:00
zerg-junior
e09e62f259
Merge pull request #298 from zalando-incubator/fix_max_connections
...
Put special patroni parameters to the bootstrap.
2018-05-23 12:24:30 +02:00
Oleksii Kliukin
e84ecb1d03
Address code review by @zerg-junior
2018-05-23 11:36:38 +02:00
Oleksii Kliukin
f5550c337b
Put special patroni parameters to the bootstrap.
...
Some special patroni postgresql parameters, like max_connections,
should reside in the bootstrap.dcs.postgresql.parameters section
to come into effect.
2018-05-22 18:27:12 +02:00