kuttl icon indicating copy to clipboard operation
kuttl copied to clipboard

Background Process Readiness Probe

Open kensipe opened this issue 5 years ago • 0 comments

When the BG process is started KUTTL moves forward with other commands (and tests).. however the commands could need the BG process to be ready to success. We do want to the process in the background however we need to know when it is live.

An example use case:

commands:
  - command: ./bin/kubectl-kudo init --crd-only	  - command: ./bin/kubectl-kudo init --crd-only
  - command: ./bin/manager
    background: true
  - command: ./bin/kubectl-kudo install --skip-instance ./repository/cassandra/3.11/operator/	  

The kudo install command will fail if manager isn't ready. We need manager to be "ready" before the install command.

kensipe avatar Mar 26 '20 16:03 kensipe