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

[Feature][kubectl-plugin] Add all and worker node type to kubectl ray log #2442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chiayi
Copy link
Contributor

@chiayi chiayi commented Oct 14, 2024

Why are these changes needed?

This PR adds the node type "worker" and "all" to kubectl ray log

Worker logs:
Screenshot 2024-10-14 at 11 18 33 AM

All RayCluster logs:
Screenshot 2024-10-14 at 11 18 12 AM

Related issue number

Part of #2419

Checks

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

@chiayi chiayi changed the title [Feat][kubectl-plugin] Add all and worker node type to kubectl ray log [Feature][kubectl-plugin] Add all and worker node type to kubectl ray log Oct 14, 2024
kubectl-plugin/pkg/cmd/log/log.go Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log_test.go Show resolved Hide resolved
@chiayi chiayi force-pushed the kubectl-plugin branch 4 times, most recently from 6380f38 to 03f0edc Compare October 15, 2024 21:12
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
kubectl-plugin/pkg/cmd/log/log.go Outdated Show resolved Hide resolved
@andrewsykim
Copy link
Collaborator

The "Downloading file" logs seem pretty noisy. Can we only log it once per node?

Downloading files for node <ray-node-name> ... 

Copy link
Member

@MortalHappiness MortalHappiness left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@andrewsykim andrewsykim left a comment

Choose a reason for hiding this comment

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

One minor nit, otherwise LGTM

}

fmt.Fprintf(options.ioStreams.Out, "Downloading file for Ray Node %s\n", rayNode.Name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Downloading logs for Ray Node

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