Closed qchenzi closed 4 days ago
Hi @qchenzi, the patch looks good. Still there're 3 things to do, before we could merge it.
- [ ] Generate updates for CRD by Using
make generate-all
command under the root of the repo.- [ ] Add an integration test for this new feature by adding the new fields in https://github.com/zilliztech/milvus-operator/blob/main/test/min-mc-feature.yaml, so that our CI can test if it works.
- [ ] Sign off all your commits https://github.com/zilliztech/milvus-operator/pull/141/checks?check_run_id=26704300058
Hi @haorenfsa,
Thank you for your feedback. I have completed the three tasks you mentioned:
Updated the CRDs using make generate-all, and you can find it deploy/manifests/deployment.yaml
Added an integration test for the new feature, and you can find it test/min-mc-feature.yaml
Rebased and squashed all my commits into one, and sign off my commit.
Please let me know if there is anything else required.
Best regards.
Hi @qchenzi, you commits still not correctly signed off, check below instructions:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.29%. Comparing base (
592de3d
) to head (03dad37
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @haorenfsa,
Thank you for pointing that out. I have correctly signed off all my commits as per your instructions. Please review.
@qchenzi Oh, the new feature test seems to be failing. It's because that the CRD should not only be updated in deploy/manifests/deployment.yaml but also in https://github.com/zilliztech/milvus-operator/tree/main/config/crd/bases and https://github.com/zilliztech/milvus-operator/blob/main/charts/milvus-operator/templates/crds.yaml.
The make generate-all
should be able to update them all, plz check if you miss them when you commit the patch.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: haorenfsa, qchenzi
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Hi @haorenfsa
Thank you for pointing out the missing updates. I have reviewed the files and realized that I indeed missed updating some files.
I have now run make generate-all again to ensure all necessary files are updated and have committed these changes. Please review the latest updates.
Thank you for your patience and assistance.
Thank you @qchenzi!
The new feature test now failed because port 9091 is used for all milvus pods to export metrics, when milvus pods are scheduled to the same node, it conflicts. Last feature is related to hpa. Thus in test we have more than 1 proxy pods, and they are scheduled to the same node. I checked the logs, other pods are working well. Thus I think it's ok to merge.
Thank you again for providing this patch!
/lgtm
Hi @qchenzi, the patch looks good. Still there're 3 things to do, before we could merge it.
make generate-all
command under the root of the repo.