A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

postgres-cluster

Type: component. From: the postgres-operator addon.

postgres cluster component

Parameters​

replicas int default 2
The size of the postgres cluster.
teamId string default acid
Set team Id.
image string default ghcr.io/zalando/spilo-15:2.1-p9
The image of the spilo.
enableShmVolume bool default true
Enable SHM volume if set true.
enableMasterLoadBalancer bool default false
Enable master as load balancer if set true.
enableReplicaLoadBalancer bool default false
Enable replica as load balancer if set true.
enableConnectionPooler bool default false
Enable/disable connection pooler deployment.
enableReplicaConnectionPooler bool default false
Set to enable connection pooler for replica service.
enableMasterPoolerLoadBalancer bool default false
Set to enable master pooler as load balancer.
enableReplicaPoolerLoadBalancer bool default false
Set to enable replica pooler as load balancer.
ttl int default 30
Set ttl(Time to live) by dedault it's 30 days.
loopWait int default 10
Set loop wait time by dedault it's 10.
retryTimeout int default 10
Set retry timeout by dedault it's 10.
synchronousMode bool default false
Set to enable synchronous mode.
synchronousModeStrict bool default false
Set to enable synchronous mode strictly.
synchronousNodeCount int default 1
Set how many nodes to be synchronized.
postgresql (4) configure postgresql.
version string default 15
The version of the postgresql to be used.
parameters (3)
shared_buffers string default 32MB
max_connections string default 10
log_statement string default all
volume (1) configure volume.
size string default 1Gi
The size of the volume used of postgres.
databases (1) define databases to be used.
foo string required
preparedDatabases (6) configure created databases.
bar (6)
defaultUsers bool required
extensions (2)
pg_partman string required
pgcrypto string required
schemas (3)
data object required
history (2)
defaultRoles bool required
defaultUsers bool required
users (2) configure users for the databases.
zalando list
foo_user list
patroni (4) configure patroni.
failsafe_mode bool default false
initdb (3)
encoding string default UTF8
locale string default en_US.UTF-8
data-checksums string default true
resources (4) configure resources.
requests (2)
cpu string default 10m
memory string default 100Mi
limits (2)
cpu string default 500m
memory string default 500Mi
tls (5) configure custom TLS.
secretName string
Sets custom TLS secret name, It should correspond to a Kubernetes Secret resource to load.
certificateFile string default tls.crt
Sets custom TLS certificate file.
privateKeyFile string default tls.key
Sets custom TLS private key file.
caFile string
Optionally configure Postgres with a CA certificate.
caSecretName string
Optionally the ca.crt can come from this secret instead.