Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20827

use the liveness probe to check the status database before wildfly start

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 38.0.0.Beta1
    • Quickstarts
    • None
    • ---
    • ---

      The wildfly require started database before its start. The HelmChart contains the init container with bussybox which is checking the status of the database and block the wildfly start when the database is not ready.

      We can define the Readiness and Startup probes to check the database status and hold the wildfly start until the database will be ready.
      https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-tcp-liveness-probe

      The benefit is we don't require any image for database status check.

              emartins@redhat.com Eduardo Martins
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: