score-compose icon indicating copy to clipboard operation
score-compose copied to clipboard

[feature request] convert liveness/readiness checks to score compose healthchecks

Open astromechza opened this issue 11 months ago • 0 comments

NOTE: this issue exists for tracking only, currently the score spec http probes are not compatible with compose healthchecks and we may need a schema change to gain some partial support.

Currently, http probes in the score spec are ignored and not included in the output compose project.

This can make it difficult when 2 workloads exists and one has a startup dependency on the other.

We cannot naively convert from an http probe to a cmd-exec probe since many containers do not have curl or wget or another reliable network client.

A workaround may be to generate a sidecar container which has curl and can host the healthcheck on behalf of the target container, this is a bit messy but can be considered if this is an issue.

astromechza avatar Mar 17 '24 15:03 astromechza