Skip to content

Launching hello world job on Kubernetes and getting logs #514

Open
@vishakha-ramani

Description

@vishakha-ramani

📚 Documentation

Link

https://pytorch.org/torchx/0.1.0rc2/quickstart.html

What does it currently say?

torchx run --scheduler kubernetes my_component.py:greet --image "my_app:latest" --user "your name"
The documentation lacks information about getting logs for the hello world example with Kubernetes cluster.

What should it say?

The user should have a kubectl CLI configured. Refer to this

To get the logs of hello world job:
kubectl logs <pod name>

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions