Skip to content

Commit 5307b29

Browse files
committed
docs: document LOGICAL_BACKUP_CONNECT_RETRIES and RETRY_DELAY env vars
Document the new environment variables that control the pg_isready retry loop added in the previous commit. These are passed via the existing logical_backup_cronjob_environment_secret mechanism. Signed-off-by: Zadkiel AHARONIAN <zaharonian@ccl-consulting.fr>
1 parent 6a7d273 commit 5307b29

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/reference/operator_parameters.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,19 @@ grouped under the `logical_backup` key.
897897
* **logical_backup_cronjob_environment_secret**
898898
Reference to a Kubernetes secret, which keys will be added as environment variables to the cronjob. Default: ""
899899

900+
The following environment variables can be passed to the logical backup
901+
cronjob via `logical_backup_cronjob_environment_secret` to control
902+
connectivity checks before the backup starts:
903+
904+
* **LOGICAL_BACKUP_CONNECT_RETRIES**
905+
Number of times to retry connecting to the target PostgreSQL pod before
906+
giving up. This is useful when NetworkPolicy enforcement introduces a
907+
short delay before a newly-created pod's IP is allowed through ingress
908+
rules on the destination node. Default: "10"
909+
910+
* **LOGICAL_BACKUP_CONNECT_RETRY_DELAY**
911+
Delay in seconds between connectivity retries. Default: "2"
912+
900913
## Debugging the operator
901914

902915
Options to aid debugging of the operator itself. Grouped under the `debug` key.

0 commit comments

Comments
 (0)