Automation Orchestrator install and tweaks

This commit is contained in:
2026-10-05 16:31:49 -04:00
parent c164cb2598
commit 7df35b9dd4
13 changed files with 272 additions and 0 deletions

View File

@@ -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: ""

View File

@@ -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

View File

@@ -166,6 +166,7 @@
{{
{
'instances': cloudnativepg_operator_instances,
'enablePDB': cloudnativepg_operator_enable_pdb | bool,
'imageName': cloudnativepg_operator_image_name,
'bootstrap': {
'initdb': {