Skip to content

Add readiness endpoint #15

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

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

nocturnalastro
Copy link
Collaborator

@nocturnalastro nocturnalastro commented Feb 12, 2025

Adds an internal endpoint which states the readiness of the linuxptp-daemon-container.
So we can stop tests from trying to run before linuxptp-daemon is ready.

Copy link

Thanks for your PR,
Best regards.

@nocturnalastro nocturnalastro marked this pull request as draft February 19, 2025 16:23
@aneeshkp
Copy link
Collaborator

/lgtm

@nocturnalastro nocturnalastro marked this pull request as ready for review March 17, 2025 16:36
@github-actions github-actions bot added the lgtm label Mar 17, 2025
@aneeshkp
Copy link
Collaborator

/approve

github-actions[bot]
github-actions bot previously approved these changes Mar 17, 2025
aneeshkp
aneeshkp previously approved these changes Mar 17, 2025
Adds the following variables
IMAGE_NAME, IMAGE_TAG_BASE, VERSION, IMG and CONTAINER_TOOL
Endpoint /ready is on port 8081
It will return a 200 status code when configuration has been applied
and all processes in the process manager are running and have collected
a metric
Copy link
Collaborator

@aneeshkp aneeshkp left a comment

Choose a reason for hiding this comment

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

/lgtm

@nocturnalastro nocturnalastro merged commit b17a21f into k8snetworkplumbingwg:main Mar 19, 2025
9 checks passed
@nocturnalastro nocturnalastro deleted the readiness branch March 19, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants