Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 14d5172

Browse files
committed
Add Healthcheck to TAS container
Signed-off-by: Madalina Lazar <[email protected]>
1 parent 02afdee commit 14d5172

File tree

1 file changed

+2
-0
lines changed
  • telemetry-aware-scheduling/deploy/images

1 file changed

+2
-0
lines changed

telemetry-aware-scheduling/deploy/images/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ COPY --from=builder /install_root /
1515
EXPOSE 9001/tcp
1616
USER tas
1717
ENTRYPOINT ["/extender"]
18+
19+
HEALTHCHECK --interval=60s --start-period=30s --retries=5 CMD [ $(ps aux | grep "/extender --syncPeriod" | wc -l) -eq 2 ] || exit 1

0 commit comments

Comments
 (0)