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

Add a creationTimestamp #4

Closed
jlewi opened this issue Jul 26, 2017 · 1 comment
Closed

Add a creationTimestamp #4

jlewi opened this issue Jul 26, 2017 · 1 comment

Comments

@jlewi
Copy link
Contributor

jlewi commented Jul 26, 2017

We should add a creationTimeStamp to the metadata of TfJobs.

@jlewi
Copy link
Contributor Author

jlewi commented Jul 26, 2017

Looks like K8s automatically adds the creationTimestamp to metadata so we don't have to.

  • apiVersion: mlkube.io/v1beta1
    kind: TfJob
    metadata:
    creationTimestamp: 2017-07-26T06:07:49Z
    labels:
    test.mlkube.io: ""
    name: gpu-load-test-job-6sfu
    namespace: default
    resourceVersion: "11348"
    selfLink: /apis/mlkube.io/v1beta1/namespaces/default/tfjobs/gpu-load-test-job-6sfu
    uid: c0678622-71c8-11e7-a0f8-42010a8e0021
    spec:
    RuntimeId: 5ryc
    replica_specs:
    • replicas: 1
      template:
      metadata:
      creationTimestamp: null
      spec:
      containers:
      - args:
      - --gpu
      env:
      - name: LD_LIBRARY_PATH
      value: /usr/local/cuda/lib64
      image: gcr.io/cloud/tf_smoke_cmle-375-20:latest
      name: tensorflow
      resources: {}
      securityContext:
      privileged: true
      volumeMounts:
      - mountPath: /dev/nvidia0
      name: dev-nvidia
      - mountPath: /dev/nvidiactl
      name: dev-nvidiactl
      - mountPath: /dev/nvidia-uvm
      name: dev-nvidia-uvm
      restartPolicy: OnFailure
      volumes:
      - hostPath:
      path: /dev/nvidia0
      name: dev-nvidia
      - hostPath:
      path: /dev/nvidiactl
      name: dev-nvidiactl
      - hostPath:
      path: /dev/nvidia-uvm
      name: dev-nvidia-uvm
      tf_port: 2222
      tf_replica_type: MASTER
      status:
      conditions: null
      controlPaused: false
      phase: Done
      reason: ""
      replicaStatuses:
    • ReplicasStates:
      Succeeded: 1
      state: Succeeded
      tf_replica_type: MASTER
      state: Succeeded

@jlewi jlewi closed this as completed Jul 26, 2017
kuikuikuizzZ added a commit to kuikuikuizzZ/tf-operator that referenced this issue Jan 11, 2021
franciscojavierarceo pushed a commit to franciscojavierarceo/training-operator that referenced this issue Apr 12, 2024
KPostOffice pushed a commit to KPostOffice/training-operator that referenced this issue May 23, 2024
ChenYi015 pushed a commit to ChenYi015/training-operator that referenced this issue Sep 20, 2024
prevent finish and failed job to enqueue
Fiona-Waters pushed a commit to Fiona-Waters/training-operator that referenced this issue Oct 1, 2024
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