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

update TFJob version to v1 or v1beta2 #163

Closed
yeya24 opened this issue May 18, 2019 · 5 comments
Closed

update TFJob version to v1 or v1beta2 #163

yeya24 opened this issue May 18, 2019 · 5 comments
Labels
good first issue Good for newcomers

Comments

@yeya24
Copy link
Contributor

yeya24 commented May 18, 2019

Recently tf_operator has updated TFJob to v1. But arena still uses v1alpha2. Can we update tfjob to v1 or v1beta2?

@cheyang cheyang added the good first issue Good for newcomers label May 18, 2019
@cheyang
Copy link
Collaborator

cheyang commented May 18, 2019

Thank you for your suggestions! We'd like to support V1 soon. Since some of our customers are using v1alpha2, we need be careful to this. Thanks again.

@posix4e
Copy link
Contributor

posix4e commented May 18, 2019

This broke me after a fresh install

Flag --workerImage has been deprecated, please use --worker-image instead
Flag --syncMode has been deprecated, please use --sync-mode instead
Flag --syncSource has been deprecated, please use --sync-source instead
Flag --psImage has been deprecated, please use --ps-image instead
ERRO[0008] Failed to execute kubectl, [create --dry-run --namespace default -f /tmp/tf-dist-git.yaml392889812] with exit status 1 
ERRO[0008] The output is service/tf-dist-git-tensorboard created (dry run)
deployment.extensions/tf-dist-git-tensorboard created (dry run)
error: unable to recognize "/tmp/tf-dist-git.yaml392889812": no matches for kind "TFJob" in version "kubeflow.org/v1alpha2"

 
exit status 1

@cheyang
Copy link
Collaborator

cheyang commented May 19, 2019

I think the workaround is that

git clone https://github.com/kubeflow/arena.git
kubectl delete -f kubernetes-artifacts/tf-operator/tf-operator.yaml
kubectl create -f kubernetes-artifacts/tf-operator/tf-operator.yaml

By the way, what's tfjob version you are using?

@posix4e
Copy link
Contributor

posix4e commented May 22, 2019

It totally worked , let's close it out now that it's in the FAQ. I used whatever an on kfctl gave me.

@yeya24
Copy link
Contributor Author

yeya24 commented May 23, 2019

Close this issue via #166

@yeya24 yeya24 closed this as completed May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants