raise pooler image and fix pgversion config in chart (#1253)
* raise pooler image and fix pgversion config in chart * enable_ebs_gp3_migration_max_size with quotes * set ConnectionPoolerMinInstances to 1
This commit is contained in:
parent
b88d8e34e1
commit
028f23eec7
|
|
@ -69,6 +69,8 @@ spec:
|
||||||
type: boolean
|
type: boolean
|
||||||
enable_lazy_spilo_upgrade:
|
enable_lazy_spilo_upgrade:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
enable_pgversion_env_var:
|
||||||
|
type: boolean
|
||||||
enable_shm_volume:
|
enable_shm_volume:
|
||||||
type: boolean
|
type: boolean
|
||||||
etcd_host:
|
etcd_host:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ configGeneral:
|
||||||
# update only the statefulsets without immediately doing the rolling update
|
# update only the statefulsets without immediately doing the rolling update
|
||||||
enable_lazy_spilo_upgrade: false
|
enable_lazy_spilo_upgrade: false
|
||||||
# set the PGVERSION env var instead of providing the version via postgresql.bin_dir in SPILO_CONFIGURATION
|
# set the PGVERSION env var instead of providing the version via postgresql.bin_dir in SPILO_CONFIGURATION
|
||||||
enable_pgversion_env_var: "false"
|
enable_pgversion_env_var: false
|
||||||
# start any new database pod without limitations on shm memory
|
# start any new database pod without limitations on shm memory
|
||||||
enable_shm_volume: true
|
enable_shm_volume: true
|
||||||
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
||||||
|
|
@ -270,7 +270,7 @@ configTeamsApi:
|
||||||
# operator watches for PostgresTeam CRs to assign additional teams and members to clusters
|
# operator watches for PostgresTeam CRs to assign additional teams and members to clusters
|
||||||
enable_postgres_team_crd: false
|
enable_postgres_team_crd: false
|
||||||
# toogle to create additional superuser teams from PostgresTeam CRs
|
# toogle to create additional superuser teams from PostgresTeam CRs
|
||||||
# enable_postgres_team_crd_superusers: "false"
|
# enable_postgres_team_crd_superusers: false
|
||||||
|
|
||||||
# toggle to grant superuser to team members created from the Teams API
|
# toggle to grant superuser to team members created from the Teams API
|
||||||
enable_team_superuser: false
|
enable_team_superuser: false
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ configAwsOrGcp:
|
||||||
# enable automatic migration on AWS from gp2 to gp3 volumes
|
# enable automatic migration on AWS from gp2 to gp3 volumes
|
||||||
enable_ebs_gp3_migration: "false"
|
enable_ebs_gp3_migration: "false"
|
||||||
# defines maximum volume size in GB until which auto migration happens
|
# defines maximum volume size in GB until which auto migration happens
|
||||||
# enable_ebs_gp3_migration_max_size: 1000
|
# enable_ebs_gp3_migration_max_size: "1000"
|
||||||
|
|
||||||
# GCP credentials for setting the GOOGLE_APPLICATION_CREDNETIALS environment variable
|
# GCP credentials for setting the GOOGLE_APPLICATION_CREDNETIALS environment variable
|
||||||
# gcp_credentials: ""
|
# gcp_credentials: ""
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ data:
|
||||||
# connection_pooler_default_cpu_request: "500m"
|
# connection_pooler_default_cpu_request: "500m"
|
||||||
# connection_pooler_default_memory_limit: 100Mi
|
# connection_pooler_default_memory_limit: 100Mi
|
||||||
# connection_pooler_default_memory_request: 100Mi
|
# connection_pooler_default_memory_request: 100Mi
|
||||||
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-11"
|
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-12"
|
||||||
# connection_pooler_max_db_connections: 60
|
# connection_pooler_max_db_connections: 60
|
||||||
# connection_pooler_mode: "transaction"
|
# connection_pooler_mode: "transaction"
|
||||||
# connection_pooler_number_of_instances: 2
|
# connection_pooler_number_of_instances: 2
|
||||||
|
|
@ -37,10 +37,11 @@ data:
|
||||||
# enable_crd_validation: "true"
|
# enable_crd_validation: "true"
|
||||||
# enable_database_access: "true"
|
# enable_database_access: "true"
|
||||||
enable_ebs_gp3_migration: "false"
|
enable_ebs_gp3_migration: "false"
|
||||||
# enable_ebs_gp3_migration_max_size: 1000
|
# enable_ebs_gp3_migration_max_size: "1000"
|
||||||
# enable_init_containers: "true"
|
# enable_init_containers: "true"
|
||||||
# enable_lazy_spilo_upgrade: "false"
|
# enable_lazy_spilo_upgrade: "false"
|
||||||
enable_master_load_balancer: "false"
|
enable_master_load_balancer: "false"
|
||||||
|
# enable_pgversion_env_var: "false"
|
||||||
# enable_pod_antiaffinity: "false"
|
# enable_pod_antiaffinity: "false"
|
||||||
# enable_pod_disruption_budget: "true"
|
# enable_pod_disruption_budget: "true"
|
||||||
# enable_postgres_team_crd: "false"
|
# enable_postgres_team_crd: "false"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
serviceAccountName: postgres-operator
|
serviceAccountName: postgres-operator
|
||||||
containers:
|
containers:
|
||||||
- name: postgres-operator
|
- name: postgres-operator
|
||||||
image: registry.opensource.zalan.do/acid/pgbouncer:master-11
|
image: registry.opensource.zalan.do/acid/pgbouncer:master-12
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ configuration:
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
|
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
|
||||||
# enable_crd_validation: true
|
# enable_crd_validation: true
|
||||||
# enable_lazy_spilo_upgrade: false
|
# enable_lazy_spilo_upgrade: false
|
||||||
|
# enable_pgversion_env_var: false
|
||||||
# enable_shm_volume: true
|
# enable_shm_volume: true
|
||||||
etcd_host: ""
|
etcd_host: ""
|
||||||
# kubernetes_use_configmaps: false
|
# kubernetes_use_configmaps: false
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,5 @@ const (
|
||||||
ConnectionPoolerContainer = 0
|
ConnectionPoolerContainer = 0
|
||||||
ConnectionPoolerMaxDBConnections = 60
|
ConnectionPoolerMaxDBConnections = 60
|
||||||
ConnectionPoolerMaxClientConnections = 10000
|
ConnectionPoolerMaxClientConnections = 10000
|
||||||
ConnectionPoolerMinInstances = 2
|
ConnectionPoolerMinInstances = 1
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue