-
Notifications
You must be signed in to change notification settings - Fork 832
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
volume mount names upgrade fix #2019
volume mount names upgrade fix #2019
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fri Jun 26 16:56:28 UTC 2020 impatient try |
Fri Jun 26 16:57:36 UTC 2020 impatient try |
/test integration |
Fri Jun 26 17:06:06 UTC 2020 impatient try |
Seems I can't use the curly-braces for jsonpath inside the run command as that leads to:
Also FWIW I tried to run kind_test_all locally and first had to change the use of
|
Fri Jun 26 17:39:21 UTC 2020 impatient try |
Fri Jun 26 17:40:53 UTC 2020 impatient try |
/test integration |
Fri Jun 26 17:44:44 UTC 2020 impatient try |
Fri Jun 26 17:58:06 UTC 2020 impatient try |
Fri Jun 26 17:58:10 UTC 2020 impatient try |
Seems this change to the tests breaks apparently unrelated tests. Not sure why as it stands. |
/retest |
Mon Jun 29 07:47:32 UTC 2020 impatient try |
rebase from master and check notebook in #2021 @ryandawsonuk |
/test notebooks |
Mon Jun 29 07:55:02 UTC 2020 impatient try |
aac34c3
to
40a3617
Compare
Mon Jun 29 12:48:56 UTC 2020 impatient try |
Mon Jun 29 12:49:20 UTC 2020 impatient try |
Mon Jun 29 13:47:16 UTC 2020 impatient try |
Mon Jun 29 13:49:10 UTC 2020 impatient try |
Mon Jun 29 14:54:23 UTC 2020 impatient try |
Mon Jun 29 14:54:46 UTC 2020 impatient try |
/test integration |
Mon Jun 29 15:08:58 UTC 2020 impatient try |
Mon Jun 29 15:08:59 UTC 2020 impatient try |
Mon Jun 29 15:10:24 UTC 2020 impatient try |
Have now been trying to test it manually. I installed 1.10 and then a model and upgraded to this branch. It seems the fix does not work as it stands. It prevents it adding a new seldon podinfo mount but that's not enough. The SeldonDeployment still ends up going to Failed status with description
Seems it ends up creating an invalid Deployment. Not sure why. The controller logs basically just say the same thing. |
Mon Jun 29 17:32:13 UTC 2020 impatient try |
Have now taken a different approach. Am modifying the volume mount from the mutator. This 'works' but unfortunately doesn't get fed back to the SeldonDeployment in the cluster that was previously already mutated. |
/test integration |
Mon Jun 29 17:33:49 UTC 2020 impatient try |
/test notebooks |
Mon Jun 29 17:36:17 UTC 2020 impatient try |
Mon Jun 29 17:38:00 UTC 2020 impatient try |
/test notebooks |
Tue Jun 30 07:05:23 UTC 2020 impatient try |
Turns out the reason why the podinfo name doesn't get changed automatically is because the mutator doesn't get called as a webhook on upgrade of the controller. It is only called when there's an actual change to the SeldonDeployment. Slightly confusingly, our reconcile loop calls the mutator code so upgrading the controller does result in the code getting called and hence everything automatically 'works' (SeldonDeployment doesn't go to failed with this code). But it doesn't get updated in k8s because the webhook hasn't actually been invoked as a webhook. If you make an edit to the SeldonDeployment (any trivial edit) then the webhook will be called and it then changes on the SeldonDeployment from podinfo to seldon-podinfo (confirmed that by testing). |
/test notebooks |
Tue Jun 30 10:38:19 UTC 2020 impatient try |
@ryandawsonuk: The following test failed, say
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. I understand the commands that are listed here. |
fixes #2017