Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2584

Add startup probe to PostgreSQL pod

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?

      Add a startup probe to the PostgreSQL pod managed by the AAP Operator, which could look, e.g., as follows:
      startupProbe:
      exec:
      command:

      • bash
      • -c
      • pg_isready -p 5432 -d postgres
        failureThreshold: 60
        initialDelaySeconds: 10
        periodSeconds: 10
      1. Why does the customer need this? (List the business requirements here)

      Long WAL replay times can prevent the PostgreSQL pod from starting as the liveness and readiness probes are not configured or designed to handle different pod start times. Adding a startup probe would improve the PostgreSQL pod's resilience and stability in different environments.

      1. How would you like to achieve this? (List the functional requirements here)

      By adding a startup probe, optionally with configurable values via AnsibleAutomationPlatform CR for failureThreshold, initialDelaySeconds and periodSeconds.

      1. List any affected known dependencies: Doc, UI etc..

      Docs, potentially AnsibleAutomationPlatform CRD if startup probe values have to be configurable.

      1. Github Link if any

              dysilva Dylan Silva
              rh-ee-baffolte Benjamin Affolter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: