-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ks (0.11) complains that resource was modified when updating Kubeflow #980
Comments
The following workaround worked
|
@bryanl is this an issue with ksonnet or with K8s? |
Same thing:
|
I'm going to dig in and investigate. I will report back here. |
I'm seeing the same with |
I've researched the cause of this error and we will need to add a retries to our apply action. While not optimal, it's safe to return |
Thanks @bryanl |
I hit a similar issue trying to update a service
@bryanl Is this really an issue with optimistic locking? It seems like ks apply is trying to set the value to the empty string which doesn't work. |
I get the same error if I pipe the output of ks show to ks apply
|
I noticed while updating the dev.kubeflow.org that problem does seem to be related to retries. I kept running the command
Each time I ran it it complained for a different object and I got an error like
But each time I reran the command it got a little bit further and eventually it succeeded. |
It looks like the error with updating the service
Is a different error and now one that is fixed by retrying. |
Opened #1145 for the problems with node port services because that seems to be a different issue. |
/lifecycle stale |
Signed-off-by: Ce Gao <[email protected]>
I have an existing Kubeflow deployment when I try updating it I get
This appears to have started with ks 0.11
My version
ks 0.11 uses merge patching and I suspect that might be the issue?
The text was updated successfully, but these errors were encountered: