-
Notifications
You must be signed in to change notification settings - Fork 716
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
can not set labels #580
Comments
Please add Please have a look at https://github.com/kubeflow/tf-operator/blob/master/examples/tf_job.yaml |
sorry, my fault.
I was so careless that miss the apiVersion: "kubeflow.org/v1alpha1" in issue. but it still can not set labels in pod |
Do you mean you set the labels in pod template and the pods created by the operator does not have these labels, right? |
If you are using master/tf-operator(v1), |
@gaocegege yes, it is. |
Do you use the latest version? Or you create the instrance from kubeflow/kubeflow? |
@gaocegege I used ks to install kubeflow followed by this article
my version is v0.1.2 |
OK, I found the cause. The commit used in v0.1.2 is a7511ff, which is not included the feature commit. Then you could not benefit from it. I think maybe you could have a try to run the oprator on your own in the latest version. |
@gaocegege ok, I will try to upgrade kubeflow, thank you very much. |
Don't be so kind 😄 BTW, the newest version v0.1.3 also uses a7511ff. Thus I suggest building and running the operator on your own. |
I install the latest version kubeflow in kubernetes cluster, but it dosen't work. I still can not set the labels.
|
Yeah, the latest version of kubeflow also uses a7511ff. Thus I suggest building and running the operator on your own. |
what do you mean of building and running the operator on my own, you mean that the latest version of kubeflow in github master branch dosen't merge this commit a7511ff? |
I mean the version used in kubeflow does not have the enhancement change. |
how to build and run the operator on my own. I don't know how to use ksonnet to install tf-operator on my own. |
I set labels in yaml file, and kubectl apply -f yaml file.but the pod template has no the value in labels.
the yaml file is like this:
The text was updated successfully, but these errors were encountered: