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/reference/cluster_manifest.md
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -56,16 +56,21 @@ These parameters are grouped directly under the `spec` key in the manifest.
56
56
name of the team the cluster belongs to. Changing it after the cluster
57
57
creation is not supported. Required field.
58
58
59
+
***numberOfInstances**
60
+
total number of instances for a given cluster. The operator parameters
61
+
`max_instances` and `min_instances` may also adjust this number. Required
62
+
field.
63
+
59
64
***dockerImage**
60
65
custom docker image that overrides the **docker_image** operator parameter.
61
-
It should be a [Spilo](https://github.com/zalando/spilo) image. Optional.
66
+
It should be a [Spilo](https://github.com/zalando/spilo) image. Optional.
62
67
63
68
***spiloFSGroup**
64
69
the Persistent Volumes for the spilo pods in the StatefulSet will be owned and
65
70
writable by the group ID specified. This will override the **spilo_fsgroup**
66
71
operator parameter. This is required to run Spilo as a non-root process, but
67
72
requires a custom spilo image. Note the FSGroup of a Pod cannot be changed
68
-
without recreating a new Pod.
73
+
without recreating a new Pod. Optional.
69
74
70
75
***enableMasterLoadBalancer**
71
76
boolean flag to override the operator defaults (set by the
@@ -84,11 +89,6 @@ These parameters are grouped directly under the `spec` key in the manifest.
84
89
this parameter. Optional, when empty the load balancer service becomes
85
90
inaccessible from outside of the Kubernetes cluster.
86
91
87
-
***numberOfInstances**
88
-
total number of instances for a given cluster. The operator parameters
89
-
`max_instances` and `min_instances` may also adjust this number. Required
90
-
field.
91
-
92
92
***users**
93
93
a map of usernames to user flags for the users that should be created in the
94
94
cluster by the operator. User flags are a list, allowed elements are
@@ -116,7 +116,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
116
116
that should be assigned to the cluster pods. When not specified, the value
117
117
is taken from the `pod_priority_class_name` operator parameter, if not set
118
118
then the default priority class is taken. The priority class itself must be
119
-
defined in advance.
119
+
defined in advance. Optional.
120
120
121
121
***enableShmVolume**
122
122
Start a database pod without limitations on shm memory. By default docker
@@ -128,19 +128,21 @@ These parameters are grouped directly under the `spec` key in the manifest.
128
128
about mounting a volume will be made based on operator configuration
129
129
(`enable_shm_volume`, which is `true` by default). It it's present and value
130
130
is `false`, then no volume will be mounted no matter how operator was
131
-
configured (so you can override the operator configuration).
131
+
configured (so you can override the operator configuration). Optional.
132
132
133
133
***enableLogicalBackup**
134
134
Determines if the logical backup of this cluster should be taken and uploaded
135
-
to S3. Default: false.
135
+
to S3. Default: false. Optional.
136
136
137
137
***logicalBackupSchedule**
138
-
Schedule for the logical backup k8s cron job. Please take [the reference schedule format](https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#schedule)
139
-
into account. Default: "30 00 \*\*\*"
138
+
Schedule for the logical backup k8s cron job. Please take
Copy file name to clipboardExpand all lines: docs/reference/operator_parameters.md
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -375,7 +375,7 @@ In the CRD-based configuration they are grouped under the `load_balancer` key.
375
375
with the hosted zone (the value of the `db_hosted_zone` parameter). No other
376
376
placeholders are allowed.
377
377
378
-
****replica_dns_name_format** defines the DNS name string template for the
378
+
***replica_dns_name_format** defines the DNS name string template for the
379
379
replica load balancer cluster. The default is
380
380
`{cluster}-repl.{team}.{hostedzone}`, where `{cluster}` is replaced by the
381
381
cluster name, `{team}` is replaced with the team name and `{hostedzone}` is
@@ -415,25 +415,25 @@ yet officially supported.
415
415
***additional_secret_mount_path**
416
416
Path to mount the above Secret in the filesystem of the container(s). The default is empty.
417
417
418
-
## Logical backup
418
+
## Logical backup
419
419
420
-
These parameters configure a k8s cron job managed by the operator to produce
421
-
Postgres logical backups. In the CRD-based configuration those parameters are
422
-
grouped under the `logical_backup` key.
420
+
These parameters configure a k8s cron job managed by the operator to produce
421
+
Postgres logical backups. In the CRD-based configuration those parameters are
422
+
grouped under the `logical_backup` key.
423
423
424
-
***logical_backup_schedule**
425
-
Backup schedule in the cron format. Please take [the reference schedule format](https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#schedule) into account. Default: "30 00 \*\*\*"
424
+
***logical_backup_schedule**
425
+
Backup schedule in the cron format. Please take [the reference schedule format](https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#schedule) into account. Default: "30 00 \*\*\*"
426
426
427
-
***logical_backup_docker_image**
428
-
An image for pods of the logical backup job. The [example image](../../docker/logical-backup/Dockerfile)
429
-
runs `pg_dumpall` on a replica if possible and uploads compressed results to
430
-
an S3 bucket under the key `/spilo/pg_cluster_name/cluster_k8s_uuid/logical_backups`.
431
-
The default image is the same image built with the Zalando-internal CI
0 commit comments