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

refactor: log more descriptive info from initContainer #526

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

davidxia
Copy link
Contributor

@davidxia davidxia commented Sep 1, 2022

Right now the example workers' initContainer that checks for
head Pod to be running logs the message waiting for myservice.
There is no myservice per se. The actual thing it's waiting for
is the K8s Service for the head group.

This change updates the log message to be more descriptive and
removes the string myservice from various places to not be misleading.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Right now the example workers' initContainer that checks for
head Pod to be running logs the message `waiting for myservice`.
There is no `myservice` per se. The actual thing it's waiting for
is the K8s Service for the head group.

This change updates the log message to be more descriptive and
removes the string `myservice` from various places to not be misleading.
@davidxia davidxia marked this pull request as ready for review September 1, 2022 21:45
@Jeffwan
Copy link
Collaborator

Jeffwan commented Sep 8, 2022

Sorry for taking long on this change. Let me help review it

@davidxia
Copy link
Contributor Author

Thanks, it's pretty small. Just the same change in many different files. Lmk if you have any questions.

Signed-off-by: David Xia <davidxia@users.noreply.github.com>
@DmitriGekhtman
Copy link
Collaborator

This looks good to me. Apologies for the nearly three month delay in review. I'll merge after re-running the failed test.

In the future, I propose having the operator auto-configure an initContainer which will health-check the Ray head pod's GCS server: #476

@DmitriGekhtman DmitriGekhtman merged commit ab2c1ed into ray-project:master Nov 30, 2022
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
Right now the example workers' initContainer that checks for
head Pod to be running logs the message `waiting for myservice`.
There is no `myservice` per se. The actual thing it's waiting for
is the K8s Service for the head group.

This change updates the log message to be more descriptive and
removes the string `myservice` from various places to not be misleading.

Signed-off-by: David Xia <davidxia@users.noreply.github.com>
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.

None yet

3 participants