diff --git a/README.rst b/README.rst index 7500612e..fd82531e 100644 --- a/README.rst +++ b/README.rst @@ -14,9 +14,9 @@ We call Patroni a "template" because it is far from being a one-size-fits-all or Currently supported PostgreSQL versions: 9.3 to 16. -**Note to Citus users**: Starting from 3.0 Patroni nicely integrates with the `Citus `__ database extension to Postgres. Please check the `Citus support page `__ in the Patroni documentation for more info about how to use Patroni high availability together with a Citus distributed cluster. +**Note to Citus users**: Starting from 3.0 Patroni nicely integrates with the `Citus `__ database extension to Postgres. Please check the `Citus support page `__ in the Patroni documentation for more info about how to use Patroni high availability together with a Citus distributed cluster. -**Note to Kubernetes users**: Patroni can run natively on top of Kubernetes. Take a look at the `Kubernetes `__ chapter of the Patroni documentation. +**Note to Kubernetes users**: Patroni can run natively on top of Kubernetes. Take a look at the `Kubernetes `__ chapter of the Patroni documentation. .. contents:: :local: @@ -39,15 +39,15 @@ For additional background info, see: Development Status ================== -Patroni is in active development and accepts contributions. See our `Contributing `__ section below for more details. +Patroni is in active development and accepts contributions. See our `Contributing `__ section below for more details. -We report new releases information `here `__. +We report new releases information `here `__. ========= Community ========= -There are two places to connect with the Patroni community: `on github `__, via Issues and PRs, and on channel `#patroni `__ in the `PostgreSQL Slack `__. If you're using Patroni, or just interested, please join us. +There are two places to connect with the Patroni community: `on github `__, via Issues and PRs, and on channel `#patroni `__ in the `PostgreSQL Slack `__. If you're using Patroni, or just interested, please join us. =================================== Technical Requirements/Installation @@ -149,19 +149,19 @@ run: YAML Configuration ================== -Go `here `__ for comprehensive information about settings for etcd, consul, and ZooKeeper. And for an example, see `postgres0.yml `__. +Go `here `__ for comprehensive information about settings for etcd, consul, and ZooKeeper. And for an example, see `postgres0.yml `__. ========================= Environment Configuration ========================= -Go `here `__ for comprehensive information about configuring(overriding) settings via environment variables. +Go `here `__ for comprehensive information about configuring(overriding) settings via environment variables. =================== Replication Choices =================== -Patroni uses Postgres' streaming replication, which is asynchronous by default. Patroni's asynchronous replication configuration allows for ``maximum_lag_on_failover`` settings. This setting ensures failover will not occur if a follower is more than a certain number of bytes behind the leader. This setting should be increased or decreased based on business requirements. It's also possible to use synchronous replication for better durability guarantees. See `replication modes documentation `__ for details. +Patroni uses Postgres' streaming replication, which is asynchronous by default. Patroni's asynchronous replication configuration allows for ``maximum_lag_on_failover`` settings. This setting ensures failover will not occur if a follower is more than a certain number of bytes behind the leader. This setting should be increased or decreased based on business requirements. It's also possible to use synchronous replication for better durability guarantees. See `replication modes documentation `__ for details. ====================================== Applications Should Not Use Superusers @@ -169,7 +169,7 @@ Applications Should Not Use Superusers When connecting from an application, always use a non-superuser. Patroni requires access to the database to function properly. By using a superuser from an application, you can potentially use the entire connection pool, including the connections reserved for superusers, with the ``superuser_reserved_connections`` setting. If Patroni cannot access the Primary because the connection pool is full, behavior will be undesirable. -.. |Tests Status| image:: https://github.com/zalando/patroni/actions/workflows/tests.yaml/badge.svg - :target: https://github.com/zalando/patroni/actions/workflows/tests.yaml?query=branch%3Amaster -.. |Coverage Status| image:: https://coveralls.io/repos/zalando/patroni/badge.svg?branch=master - :target: https://coveralls.io/github/zalando/patroni?branch=master +.. |Tests Status| image:: https://github.com/patroni/patroni/actions/workflows/tests.yaml/badge.svg + :target: https://github.com/patroni/patroni/actions/workflows/tests.yaml?query=branch%3Amaster +.. |Coverage Status| image:: https://coveralls.io/repos/patroni/patroni/badge.svg?branch=master + :target: https://coveralls.io/github/patroni/patroni?branch=master diff --git a/docker-compose-citus.yml b/docker-compose-citus.yml index da71c50a..c18a52e2 100644 --- a/docker-compose-citus.yml +++ b/docker-compose-citus.yml @@ -8,7 +8,7 @@ # The cluster could be started as: # $ docker-compose -f docker-compose-citus.yml up -d # You can read more about it in the: -# https://github.com/zalando/patroni/blob/master/docker/README.md#citus-cluster +# https://github.com/patroni/patroni/blob/master/docker/README.md#citus-cluster version: "2" networks: diff --git a/docker-compose.yml b/docker-compose.yml index 6b7d7a92..a5fba6b8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ # The cluster could be started as: # $ docker-compose up -d # You can read more about it in the: -# https://github.com/zalando/patroni/blob/master/docker/README.md +# https://github.com/patroni/patroni/blob/master/docker/README.md version: "2" networks: diff --git a/docs/README.rst b/docs/README.rst index e7f1038b..efe91268 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -37,7 +37,7 @@ perfectly fine. You can add more standby nodes later. Running and Configuring ----------------------- -The following section assumes Patroni repository as being cloned from https://github.com/zalando/patroni. Namely, you +The following section assumes Patroni repository as being cloned from https://github.com/patroni/patroni. Namely, you will need example configuration files `postgres0.yml` and `postgres1.yml`. If you installed Patroni with pip, you can obtain those files from the git repository and replace `./patroni.py` below with `patroni` command. @@ -67,7 +67,7 @@ run: YAML Configuration ------------------ -Go :ref:`here ` for comprehensive information about settings for etcd, consul, and ZooKeeper. And for an example, see `postgres0.yml `__. +Go :ref:`here ` for comprehensive information about settings for etcd, consul, and ZooKeeper. And for an example, see `postgres0.yml `__. Environment Configuration diff --git a/docs/citus.rst b/docs/citus.rst index 62cbdd1b..f404f47e 100644 --- a/docs/citus.rst +++ b/docs/citus.rst @@ -335,7 +335,7 @@ new Kubernetes objects ConfigMaps or Endpoints, it automatically puts the You can find a complete example of Patroni deployment on Kubernetes with Citus support in the `kubernetes`__ folder of the Patroni repository. -__ https://github.com/zalando/patroni/tree/master/kubernetes +__ https://github.com/patroni/patroni/tree/master/kubernetes There are two important files for you: diff --git a/docs/conf.py b/docs/conf.py index de409c83..bfd32064 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -134,7 +134,7 @@ html_static_path = ['_static'] # Replace "source" links with "edit on GitHub" when using rtd theme html_context = { 'display_github': True, - 'github_user': 'zalando', + 'github_user': 'patroni', 'github_repo': 'patroni', 'github_version': 'master', 'conf_py_path': '/docs/', diff --git a/docs/contributing_guidelines.rst b/docs/contributing_guidelines.rst index 48d2b77a..21b9be43 100644 --- a/docs/contributing_guidelines.rst +++ b/docs/contributing_guidelines.rst @@ -16,7 +16,7 @@ Reporting bugs -------------- Before reporting a bug please make sure to **reproduce it with the latest Patroni version**! -Also please double check if the issue already exists in our `Issues Tracker `__. +Also please double check if the issue already exists in our `Issues Tracker `__. Running tests ------------- diff --git a/docs/kubernetes.rst b/docs/kubernetes.rst index ab9acdda..881ee881 100644 --- a/docs/kubernetes.rst +++ b/docs/kubernetes.rst @@ -87,7 +87,7 @@ Note that if you migrate from default role labels to custom ones, you can reduce Examples -------- -- The `kubernetes `__ folder of the Patroni repository contains +- The `kubernetes `__ folder of the Patroni repository contains examples of the Docker image, and the Kubernetes manifest to test Patroni Kubernetes setup. Note that in the current state it will not be able to use PersistentVolumes because of permission issues. diff --git a/docs/releases.rst b/docs/releases.rst index 519f0909..57104894 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -1741,7 +1741,7 @@ Released 2019-12-05 - Don't expose password when running ``pg_rewind`` (Alexander Kukushkin) - Bug was introduced in the `#1301 `__ + Bug was introduced in the `#1301 `__ - Apply connection parameters specified in the ``postgresql.authentication`` to ``pg_basebackup`` and custom replica creation methods (Alexander Kukushkin) @@ -2251,11 +2251,11 @@ This version implements support of permanent replication slots, adds support of - A few bugfixes in the "standby cluster" workflow (Alexander Kukushkin) - Please see https://github.com/zalando/patroni/pull/823 for more details. + Please see https://github.com/patroni/patroni/pull/823 for more details. - Fix REST API health check when cluster management is paused and DCS is not accessible (Alexander Kukushkin) - Regression was introduced in https://github.com/zalando/patroni/commit/90cf930036a9d5249265af15d2b787ec7517cf57 + Regression was introduced in https://github.com/patroni/patroni/commit/90cf930036a9d5249265af15d2b787ec7517cf57 Version 1.5.0 ------------- @@ -2481,7 +2481,7 @@ Released 2018-03-05 - Single user mode was waiting for user input and never finish (Alexander Kukushkin) - Regression was introduced in https://github.com/zalando/patroni/pull/576 + Regression was introduced in https://github.com/patroni/patroni/pull/576 Version 1.4.2 @@ -2991,7 +2991,7 @@ In addition, the documentation, including these release notes, has been moved to **Documentation improvements** -- Add a Patroni main `loop workflow diagram `__. (Alejandro Martínez, Alexander Kukushkin) +- Add a Patroni main `loop workflow diagram `__. (Alejandro Martínez, Alexander Kukushkin) - Improve README, adding the Helm chart and links to release notes. (Lauri Apple) @@ -3305,4 +3305,4 @@ This release adds support for *cascading replication* and simplifies Patroni man The tests can be launched manually using the *behave* command. They are also launched automatically for pull requests and after commits. - Release notes for some older versions can be found on `project's github page `__. + Release notes for some older versions can be found on `project's github page `__. diff --git a/kubernetes/Dockerfile b/kubernetes/Dockerfile index e41bf1cd..39b5003c 100644 --- a/kubernetes/Dockerfile +++ b/kubernetes/Dockerfile @@ -10,7 +10,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \ ## Make sure we have a en_US.UTF-8 locale available && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ && pip3 install --break-system-packages setuptools \ - && pip3 install --break-system-packages 'git+https://github.com/zalando/patroni.git#egg=patroni[kubernetes]' \ + && pip3 install --break-system-packages 'git+https://github.com/patroni/patroni.git#egg=patroni[kubernetes]' \ && PGHOME=/home/postgres \ && mkdir -p $PGHOME \ && chown postgres $PGHOME \ diff --git a/kubernetes/Dockerfile.citus b/kubernetes/Dockerfile.citus index 7af9e5ae..8b1975b1 100644 --- a/kubernetes/Dockerfile.citus +++ b/kubernetes/Dockerfile.citus @@ -27,7 +27,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install postgresql-16-citus-12.1; \ fi \ && pip3 install --break-system-packages setuptools \ - && pip3 install --break-system-packages 'git+https://github.com/zalando/patroni.git#egg=patroni[kubernetes]' \ + && pip3 install --break-system-packages 'git+https://github.com/patroni/patroni.git#egg=patroni[kubernetes]' \ && PGHOME=/home/postgres \ && mkdir -p $PGHOME \ && chown postgres $PGHOME \ diff --git a/kubernetes/openshift-example/README.md b/kubernetes/openshift-example/README.md index 0b177f47..9d1ba00e 100644 --- a/kubernetes/openshift-example/README.md +++ b/kubernetes/openshift-example/README.md @@ -16,7 +16,7 @@ Note: If deploying as a template for multiple users, the following commands shou ``` oc import-image postgres:10 --confirm -n openshift -oc new-build https://github.com/zalando/patroni --context-dir=kubernetes -n openshift +oc new-build https://github.com/patroni/patroni --context-dir=kubernetes -n openshift ``` ## Deploy the Image diff --git a/setup.py b/setup.py index 10c71f4c..b8b8a062 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ NAME = 'patroni' MAIN_PACKAGE = NAME DESCRIPTION = 'PostgreSQL High-Available orchestrator and CLI' LICENSE = 'The MIT License' -URL = 'https://github.com/zalando/patroni' +URL = 'https://github.com/patroni/patroni' AUTHOR = 'Alexander Kukushkin, Polina Bungina' AUTHOR_EMAIL = 'akukushkin@microsoft.com, polina.bungina@zalando.de' KEYWORDS = 'etcd governor patroni postgresql postgres ha haproxy confd' +\