mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:11:49 +02:00
define readinessProbe on statefulSet (#1825)
* define readinessProbe on statefulSet * do not error out on deleting Patroni cluster objects * change delete order for patroni objects
This commit is contained in:
+13
-1
@@ -37,7 +37,7 @@ The Postgres Operator can be deployed in the following ways:
|
||||
* Kustomization
|
||||
* Helm chart
|
||||
|
||||
### Manual deployment setup
|
||||
### Manual deployment setup on Kubernetes
|
||||
|
||||
The Postgres Operator can be installed simply by applying yaml manifests. Note,
|
||||
we provide the `/manifests` directory as an example only; you should consider
|
||||
@@ -71,6 +71,18 @@ manifest.
|
||||
./run_operator_locally.sh
|
||||
```
|
||||
|
||||
### Manual deployment setup on OpenShift
|
||||
|
||||
To install the Postgres Operator in OpenShift you have to change the config
|
||||
parameter `kubernetes_use_configmaps` to `"true"`. Otherwise, the operator
|
||||
and Patroni will store leader and config keys in `Endpoints` that are not
|
||||
supported in OpenShift. This requires also a slightly different set of rules
|
||||
for the `postgres-operator` and `postgres-pod` cluster roles.
|
||||
|
||||
```bash
|
||||
oc create -f manifests/operator-service-account-rbac-openshift.yaml
|
||||
```
|
||||
|
||||
### Helm chart
|
||||
|
||||
Alternatively, the operator can be installed by using the provided [Helm](https://helm.sh/)
|
||||
|
||||
Reference in New Issue
Block a user