Fixes #1509: Notebook CRD allows misconfigured notebooks that make the notebook-controller crash#1510
Conversation
|
Hi @axelgobletbdr. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
/assign @kimwnasptd |
|
When running the unit tests as described in checklist above, many of the tests fail. This happens for many components that I did not touch in my PR. Is the test suite outdated? |
|
Have you ever tried to run below commands before sending PR? |
|
Hi @Patrickxyz, I did run the exact commands you decribe. Does running these commands yield a positive outcome for you on master? Do you want me to check in all the newly generated test files? |
|
If I'm not sure whether failed tests related to Notebook CRD. But I would encourage you taking a deep look and fix these failures. |
|
I just checked in the files generated by Here is an example of one of the dozens if not hundreds of failed test cases: This can't be right. Either there is something going wrong in the test suite, or the tests are outdated and haven't been looked into for a long time. I am exactly following the provided steps and not getting any errors while generating the tests. I do not know what is going wrong. And as I mentioned before, this does happen on the master branch as well. Do you know what is going on? |
|
Okay, can you confirm you're using kustomize v3.2.1? And retry above commands? We mentioned it here https://github.com/kubeflow/manifests#manifests |
|
Hi @PatrickXYS, I was using a kustomize version >3.2.1. With version 3.2.1, all newly generated tests passed. I assume you want the generated tests to be checked into the repository as well? I added them to this PR. |
|
/ok-to-test |
|
@PatrickXYS can this PR be merged? |
|
/cc @kimwnasptd Can you take a look at Notebook Controller change? I notice we're about to bring up Notebook WG, and you'll be part of the WG. |
|
@kimwnasptd can you have a look at this PR? It is a minor change of the notebook CRD to prevent crashes in the notebook controller. |
|
/lgtm |
|
@andreyvelich @Jeffwan @Bobgy @gaocegege @johnugeorge @krishnadurai you are the test owners. Could one of you approve this PR please? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kimwnasptd, krishnadurai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Which issue is resolved by this Pull Request:
Resolves #1509
Description of your changes:
Added Regex patterns to cpu and memory requests and limits in notebook CRD.
Checklist:
cd manifests/testsmake generate-changed-onlymake test