-
Notifications
You must be signed in to change notification settings - Fork 700
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
*job API(master) cannot compatible with old job #1725
Comments
Yes. This is a breaking change which will be in next release. The current label selector field can't work for HPA in K8s and hence change was made. In the coming release 1.7, we have breaking changes for both operator and SDK Ref: kubeflow/common#197 @tenzen-y @terrytangyuan @zw0610 @andreyvelich Any thoughts? |
That's right. |
@johnugeorge IMO, it might be better to add a new member like And we inform users training-operator does not support HPA in v1.5.0. This means we provide API for a while in the following: type ReplicaStatus struct {
...
// Deprecated: LabelSelector does not work fine.
LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"`
Selector string `json:"selector,omitempty"`
}
... WDYT? |
I agree with @tenzen-y. Or there is another solution, training-operator may increase the api version? @andreyvelich @johnugeorge |
I try to use paddle operator recently(only in master branch), so I caught this issue. |
I think we need to increase the API Version if we remove |
Agree! |
@johnugeorge What do you think ? |
I will deprecate the existing field and add a new Selector field. If we want to remove the deprecated field in the future, we can update to v2beta1 api as we are currently in stable version |
@johnugeorge If you don't have enough time to work on this, I could work on this. |
Thanks @tenzen-y. I have started on it. I will post if I cannot make it in a day |
Thanks. Feel free to send a ping to me. |
@tenzen-y: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
training-operator master import Kubeflow common v0.4.5 which change basic ReplicaStatus.LabelSelector to string.
This change cause old job cannot be recognized by new training-operator.
training-operator can not start up If there are old jobs in system.
The text was updated successfully, but these errors were encountered: