Automation Orchestrator install and tweaks
This commit is contained in:
@@ -15,6 +15,9 @@ cloudnativepg_operator_cluster_namespace: automation-orchestrator
|
||||
cloudnativepg_operator_cluster_name: orchestrator-postgres
|
||||
cloudnativepg_operator_owner_user: orchestrator
|
||||
cloudnativepg_operator_instances: 1
|
||||
# A primary PDB on a single instance is permanently at its limit (PodDisruptionBudgetAtLimit)
|
||||
# and blocks node drains; CNPG recommends disabling it for single-instance dev clusters.
|
||||
cloudnativepg_operator_enable_pdb: "{{ cloudnativepg_operator_instances | int > 1 }}"
|
||||
cloudnativepg_operator_image_name: ghcr.io/cloudnative-pg/postgresql:15
|
||||
cloudnativepg_operator_storage_size: 5Gi
|
||||
cloudnativepg_operator_storage_class: ""
|
||||
|
||||
@@ -49,6 +49,11 @@ argument_specs:
|
||||
description: Number of Postgres instances in the Cluster (1 = no HA).
|
||||
type: int
|
||||
default: 1
|
||||
cloudnativepg_operator_enable_pdb:
|
||||
description: >-
|
||||
Create the CNPG primary PodDisruptionBudget. Defaults to true only when instances > 1;
|
||||
a single-instance PDB is always at its limit and blocks node drains.
|
||||
type: bool
|
||||
cloudnativepg_operator_image_name:
|
||||
description: PostgreSQL container image for the Cluster.
|
||||
type: str
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
{{
|
||||
{
|
||||
'instances': cloudnativepg_operator_instances,
|
||||
'enablePDB': cloudnativepg_operator_enable_pdb | bool,
|
||||
'imageName': cloudnativepg_operator_image_name,
|
||||
'bootstrap': {
|
||||
'initdb': {
|
||||
|
||||
Reference in New Issue
Block a user