Skip to content

Comments

Add health start interval support to swarm mode#45965

Merged
thaJeztah merged 2 commits intomoby:masterfrom
cpuguy83:swarm_health_start_interval
Jul 14, 2023
Merged

Add health start interval support to swarm mode#45965
thaJeztah merged 2 commits intomoby:masterfrom
cpuguy83:swarm_health_start_interval

Conversation

@cpuguy83
Copy link
Member

Related: #45897

@thaJeztah
Copy link
Member

quick blurb; need to check if the API is affected and swagger + version-history needs an update

@cpuguy83 cpuguy83 force-pushed the swarm_health_start_interval branch from fcd8d0f to bdd30a4 Compare July 13, 2023 19:11
@cpuguy83
Copy link
Member Author

@thaJeztah Yes API is affected but it was already updated in the original PR (b/c swarm is using the same struct in the swagger and in the actual API implementation).
I did need to update the swarm router to set the value to zero if the api version is older.

Copy link
Member

@neersighted neersighted left a comment

Choose a reason for hiding this comment

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

Could you add the SwarmKit version to the commit message? e.g. make the first line vendor: github.com/moby/swarmkit/v2 v2.0.0-20230713153928-bc71908479e5?

Otherwise, LGTM

cpuguy83 added 2 commits July 14, 2023 16:46
This brings in changes needed to support health start intervals in
swarm.

Signed-off-by: Brian Goff <[email protected]>
Adds conversions for health start interval to/from grpc for swarmkit.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83
Copy link
Member Author

Updated the commit message.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit 37b908a into moby:master Jul 14, 2023
@cpuguy83 cpuguy83 deleted the swarm_health_start_interval branch July 14, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking issue for health start interval

4 participants