Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only add endpoint for Routable LRP #27

Merged
merged 4 commits into from
Jul 14, 2023
Merged

Only add endpoint for Routable LRP #27

merged 4 commits into from
Jul 14, 2023

Conversation

mariash
Copy link
Member

@mariash mariash commented Jun 29, 2023

What is this change about?

As part of readiness health checks work route emitter should only add endpoint for routes that are Routable.

This PR accompanies executor PR Once executor emits ContainerRunning event rep will send information to BBS in StartActualLRP call, which would include information whether the container is routable.

How should this change be described in diego-release release notes?

Support readiness health checks

Please provide any contextual information.

RFC

Thank you!

If LRP switches from Routable to not Routable remove the endpoint

Signed-off-by: Maria Shaldybin <[email protected]>
Signed-off-by: Renee Chu <[email protected]>
@mariash mariash requested a review from a team as a code owner June 29, 2023 22:41
routehandlers/handler_test.go Show resolved Hide resolved
routehandlers/handler_test.go Show resolved Hide resolved
Copy link
Member

@ameowlia ameowlia left a comment

Choose a reason for hiding this comment

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

also... what about windows? Does this work on a windows cell?

routehandlers/handler.go Outdated Show resolved Hide resolved
@mariash
Copy link
Member Author

mariash commented Jul 13, 2023

also... what about windows? Does this work on a windows cell?

Have not tested this on windows. My expectation it should work the same.

@ameowlia ameowlia self-requested a review July 14, 2023 15:30
@mariash mariash merged commit 2958ec0 into main Jul 14, 2023
@mariash mariash deleted the app-healthchecks branch July 14, 2023 16:38
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.

4 participants