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

kubectl get tfjob -o yaml, but not status output #1598

Closed
shuaiyy opened this issue May 29, 2022 · 0 comments
Closed

kubectl get tfjob -o yaml, but not status output #1598

shuaiyy opened this issue May 29, 2022 · 0 comments

Comments

@shuaiyy
Copy link

shuaiyy commented May 29, 2022

when I use kubectl get tfjobs.kubeflow.org train-11 -o yaml
only get output of spec and not status.

the describe event is

Events:
  Type     Reason               Age                   From              Message
  ----     ------               ----                  ----              -------
  Normal   SuccessfulCreatePod  6m43s                 tfjob-controller  Created pod: train-11-chief-0
  Warning  Unschedulable        75s (x15 over 6m43s)  tfjob-controller  Error pod train-11-chief-0 condition message: 0/1 nodes are available: 1 persistentvolumeclaim "train-11-data-dir" not found.

I'm very confused, why can't get some info from tfjob.Status, I do think if the pod create failed or pending for some reason, some Phase info should be sync to tfjob.Status.

by the way, i'm use go client-sdk for kubeflow tfjob, and try to find a way to checkout the status of my job.

@shuaiyy shuaiyy closed this as completed May 30, 2022
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

No branches or pull requests

1 participant