Skip to content

Comments

Add start_interval to healthcheck#383

Merged
glours merged 1 commit intocompose-spec:masterfrom
cpuguy83:health-start-interval
Jul 13, 2023
Merged

Add start_interval to healthcheck#383
glours merged 1 commit intocompose-spec:masterfrom
cpuguy83:health-start-interval

Conversation

@cpuguy83
Copy link
Contributor

@cpuguy83 cpuguy83 commented Jul 6, 2023

What this PR does / why we need it:

Start interval is the interval that healthchecks are performed during the start period.
This was added in moby in moby/moby#40894.
You can see the linked issue in that PR for the number of users asking for this.

Docker CLI changes: docker/cli#4405
Swarmkit changes: moby/swarmkit#3142

@laurazard
Copy link
Member

It's finally here 🎉 ! I'm just looking at this from my phone, but I wonder if we need changes to the schema json (somewhere around

"start_period": {"type": "string", "format": "duration"}
)?

@glours
Copy link
Contributor

glours commented Jul 13, 2023

You're right @laurazard 👍 , we need to update compose-spec.json schema file

@laurazard
Copy link
Member

@cpuguy83 can you take care of that or should one of us make some quick changes?

@cpuguy83 cpuguy83 force-pushed the health-start-interval branch from af2645f to 760feb3 Compare July 13, 2023 18:41
Start interval is the interval that healthchecks are performed during
the start period.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83 cpuguy83 force-pushed the health-start-interval branch from 760feb3 to 720ae3e Compare July 13, 2023 18:41
@cpuguy83
Copy link
Contributor Author

Updated

Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

@glours glours merged commit 40c2421 into compose-spec:master Jul 13, 2023
@cpuguy83 cpuguy83 deleted the health-start-interval branch July 16, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants