AIAP: Switch to a readiness probe for the docker and libvirt containers #629
Labels
enhancement
New feature or request
priority/low
Items that are considered non-critical for functionality, such as quality of life improvements
Milestone
Problem description (if applicable)
The
artifact-setup
andinfra-builder
containers are using a naive approach of simply sleeping for 30 seconds, with the expectation that the libvirt and docker services will become available in that time before they begin execution:airshipctl/tools/airship-in-a-pod/artifact-setup/assets/entrypoint.sh
Lines 38 to 39 in 362cc4b
airshipctl/tools/airship-in-a-pod/infra-builder/assets/entrypoint.sh
Lines 17 to 18 in 362cc4b
Proposed change
Modify the base AIAP PodSpec to use readiness probes so the above containers can be sure the services are available. This will prevent errors in the case where the services take a long time to come up while also providing a potential speed boost when they come up very quickly.
The text was updated successfully, but these errors were encountered: