postgres-cluster
Type: component. From: the postgres-operator addon.
postgres cluster component
Parameters
replicas int default 2The size of the postgres cluster.
teamId string default acidSet team Id.
image string default ghcr.io/zalando/spilo-15:2.1-p9The image of the spilo.
enableShmVolume bool default trueEnable SHM volume if set true.
enableMasterLoadBalancer bool default falseEnable master as load balancer if set true.
enableReplicaLoadBalancer bool default falseEnable replica as load balancer if set true.
enableConnectionPooler bool default falseEnable/disable connection pooler deployment.
enableReplicaConnectionPooler bool default falseSet to enable connection pooler for replica service.
enableMasterPoolerLoadBalancer bool default falseSet to enable master pooler as load balancer.
enableReplicaPoolerLoadBalancer bool default falseSet to enable replica pooler as load balancer.
ttl int default 30Set ttl(Time to live) by dedault it's 30 days.
loopWait int default 10Set loop wait time by dedault it's 10.
retryTimeout int default 10Set retry timeout by dedault it's 10.
synchronousMode bool default falseSet to enable synchronous mode.
synchronousModeStrict bool default falseSet to enable synchronous mode strictly.
synchronousNodeCount int default 1Set how many nodes to be synchronized.
postgresql (4) configure postgresql.
version string default 15The version of the postgresql to be used.
parameters (3)
shared_buffers string default 32MBmax_connections string default 10log_statement string default allvolume (1) configure volume.
size string default 1GiThe size of the volume used of postgres.
databases (1) define databases to be used.
foo string requiredpreparedDatabases (6) configure created databases.
bar (6)
defaultUsers bool requiredextensions (2)
pg_partman string requiredpgcrypto string requiredschemas (3)
data object requiredhistory (2)
defaultRoles bool requireddefaultUsers bool requiredusers (2) configure users for the databases.
zalando listfoo_user listpatroni (4) configure patroni.
failsafe_mode bool default falseinitdb (3)
encoding string default UTF8locale string default en_US.UTF-8data-checksums string default trueresources (4) configure resources.
requests (2)
cpu string default 10mmemory string default 100Milimits (2)
cpu string default 500mmemory string default 500Mitls (5) configure custom TLS.
secretName stringSets custom TLS secret name, It should correspond to a Kubernetes Secret resource to load.
certificateFile string default tls.crtSets custom TLS certificate file.
privateKeyFile string default tls.keySets custom TLS private key file.
caFile stringOptionally configure Postgres with a CA certificate.
caSecretName stringOptionally the ca.crt can come from this secret instead.