You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/annotations.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,8 @@ Use **Annotations** when:
113
113
|`pgv2.percona.com/monitor-user-secret-hash`| Custom Resource | Hash of the monitor user secret, used to detect changes and trigger updates. |`b6e1a2c3...`|
114
114
|`pgv2.percona.com/backup-in-progress`| Custom Resource | Indicates a backup that is currently running for the cluster. |`true`|
115
115
|`pgv2.percona.com/cluster-bootstrap-restore`| Custom Resource | Marks that the cluster was bootstrapped from a restore. |`2024-07-01T12:34:56Z`|
116
-
|`pgv2.percona.com/patroni-version`| Pods, StatefulSets | The Patroni version running in the Pod or StatefulSet. |`3.3.0`|
117
-
|`pgv2.percona.com/custom-patroni-version`| Pods, StatefulSets | Custom Patroni version specified by the user. |`3.3.0-percona`|
116
+
|`pgv2.percona.com/patroni-version`| Pods, StatefulSets | The Patroni version running in the Pod or StatefulSet. |`{{patronirecommended}}`|
117
+
|`pgv2.percona.com/custom-patroni-version`| Pods, StatefulSets | Custom Patroni version specified by the user. Deprecated and ignored starting with version 2.8.0|`3.3.0-percona`|
118
118
|`kubectl.kubernetes.io/default-container`| Pods | Defines a default container used when the `-c` flag is not passed when executing to a Pod.|
119
119
120
120
## Setting labels and annotations in the Custom Resource
@@ -252,6 +252,10 @@ Metadata can be used as an additional way to influence the Operator behavior by
252
252
253
253
### Customizing Patroni version
254
254
255
+
!!! note
256
+
257
+
This behavior is deprecated and the annotation is ignored starting with version 2.8.0.
258
+
255
259
Starting from the Operator 2.6.0, Percona distribution for PostgreSQL comes with Patroni 4.x, which introduces breaking changes compared to previously used 3.x versions. To maintain backward compatibility, the Operator needs to detect the Patroni version used in the image. For this, it runs a temporary Pod named `cluster_name-patroni-version-check` with the following default resources:
Copy file name to clipboardExpand all lines: docs/operator.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ for PostgreSQL Cluster; it should include only [URL-compatible characters :octic
18
18
19
19
* <aname="finalizers-delete-backups"></a> `finalizers.percona.com/delete-backups` if present, activates the [Finalizer :octicons-link-external-16:](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#finalizers) which deletes all the [backups](backups.md) of the database cluster from all configured repos on cluster deletion event (off by default). **`delete-backups` finalizer is in tech preview state, and it is not yet recommended for production environments.**
20
20
21
-
## Toplevel`spec` elements
21
+
## Top level`spec` elements
22
22
23
23
The spec part of the [deploy/cr.yaml :octicons-link-external-16:](https://github.com/percona/percona-postgresql-operator/blob/main/deploy/cr.yaml) file contains the following:
24
24
@@ -80,7 +80,7 @@ Port number used by a standby copy to connect to the primary cluster.
80
80
81
81
### `openshift`
82
82
83
-
Set to `true` if the cluster is being deployed on OpenShift, set to `false` otherwise, or unset it for autodetection.
83
+
Set to `true` if the cluster is being deployed on OpenShift, set to `false` otherwise, or unset it for auto-detection.
84
84
85
85
| Value type | Example |
86
86
| ---------- | ------- |
@@ -854,7 +854,7 @@ The [Kubernetes Pod tolerations :octicons-link-external-16:](https://kubernetes.
854
854
855
855
### `instances.priorityClassName`
856
856
857
-
The [Kuberentes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for PostgreSQL instance Pods.
857
+
The [Kubernetes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for PostgreSQL instance Pods.
858
858
859
859
| Value type | Example |
860
860
| ---------- | ------- |
@@ -902,7 +902,7 @@ The [Kubernetes PersistentVolumeClaim :octicons-link-external-16:](https://kuber
Set the [Kubernetes storage class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/storage-classes/) to use with PosgreSQL Cluster [PersistentVolumeClaim :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) for the PostgreSQL storage.
905
+
Set the [Kubernetes storage class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/storage-classes/) to use with PostgreSQL Cluster [PersistentVolumeClaim :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) for the PostgreSQL storage.
906
906
907
907
| Value type | Example |
908
908
| ---------- | ------- |
@@ -1140,15 +1140,15 @@ The number of retries to make a backup with incremental pauses of 10 seconds, 20
1140
1140
1141
1141
### `backups.pgbackrest.jobs.restartPolicy`
1142
1142
1143
-
The [Kuberentes Pod restart policy :octicons-link-external-16:](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy) for pgBackRest jobs.
1143
+
The [Kubernetes Pod restart policy :octicons-link-external-16:](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy) for pgBackRest jobs.
1144
1144
1145
1145
| Value type | Example |
1146
1146
| ---------- | ------- |
1147
1147
| :material-code-string: string |`OnFailure`|
1148
1148
1149
1149
### `backups.pgbackrest.jobs.priorityClassName`
1150
1150
1151
-
The [Kuberentes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for pgBackRest jobs.
1151
+
The [Kubernetes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for pgBackRest jobs.
1152
1152
1153
1153
| Value type | Example |
1154
1154
| ---------- | ------- |
@@ -1277,7 +1277,7 @@ The [Kubernetes memory limits :octicons-link-external-16:](https://kubernetes.io
The [Kuberentes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for pgBackRest repo.
1280
+
The [Kubernetes Pod priority class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) for pgBackRest repo.
1281
1281
1282
1282
| Value type | Example |
1283
1283
| ---------- | ------- |
@@ -1423,7 +1423,7 @@ The [Kubernetes PersistentVolumeClaim :octicons-link-external-16:](https://kuber
Set the [Kubernetes Storage Class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/storage-classes/) to use with the Percona Operator for PosgreSQL backups stored on [Persistent Volume](backups-storage.md#__tabbed_1_4).
1426
+
Set the [Kubernetes Storage Class :octicons-link-external-16:](https://kubernetes.io/docs/concepts/storage/storage-classes/) to use with the Percona Operator for PostgreSQL backups stored on [Persistent Volume](backups-storage.md#__tabbed_1_4).
1427
1427
1428
1428
| Value type | Example |
1429
1429
| ---------- | ------- |
@@ -1740,7 +1740,7 @@ The [Kubernetes annotations :octicons-link-external-16:](https://kubernetes.io/d
0 commit comments