Override locality load balancer settings per host#18406
Override locality load balancer settings per host#18406istio-testing merged 27 commits intoistio:masterfrom
Conversation
|
Hi @aattuluri. Thanks for your PR. I'm waiting for a istio 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. |
howardjohn
left a comment
There was a problem hiding this comment.
Nice! Can you change tests/integration/pilot/locality to use a destination rule? Basically should just need to remove the setupConfig function and then modify the DR to add the locality settings there. There is already a DR to add the outlier detection so can just add to that one
|
/ok-to-test |
|
@aattuluri you will need to use the generated CRDs you updated in https://github.com/istio/api/blob/master/kubernetes/customresourcedefinitions.gen.yaml. Please rebase and use the |
…-load-balance-settings-per-host
Thank you. |
|
@aattuluri it looks like the testdata is still not valid. |
Ok, probably I should try downgrading to some previous version of api on my branch and check? |
|
If you compare the API between your original change and the master, there is little changed on the API definitions themselves and the generated go types. istio/api@9a5ec23...master |
|
We added |
|
/retest |
|
@aattuluri the crd yaml in the api commit cannot be parsed by our test framework. that is why the tests are failing now. you can keep last crd-all.gen.yaml as unchanged. |
|
some values in our synthetic service entry tests are invalid. im trying to spot those and hopefully can fix the test failures we were seeing yesterday. |
Yep, reverted that. |
That will be great, thanks! |
|
/retest |
1 similar comment
|
/retest |
|
Since I made commits to the PR, I will not be approving on behalf of config team. @ayj Can you please take a look? Particularly the fixes for the json naming in conformance tests and synthetic service entry integration tests, which I mentioned to you today. Unfortunately, this PR has grown to a huge one because the latest api commit had a few changes. |
|
@kyessenov Kuat, can you please review the changes of json naming in mixer tests? |
|
@aattuluri thanks for implementing this and everything else that got dragged along with it! |
|
@howardjohn Sure thing. Thanks for being proactive and helping on this one. |
* Fix version * Update istio api version to the latest. * Update test data to test the feature * Fix indentation and config. * Fix indentation round 2 * Indentation fix round 3. * Update crds for tests. * remove yaml separator * Add loadbalancer mandatory attribute for test data. * Incorporate code review comments. * Updated to reflect existing behavior * Update import * Restore to original order. * Fix unit tests. * Fix lint errors. * Check in make gen output * Update istio api and redo make gen * Testing with rolled back api version * Keeping the old crd gen file. * fix json field names in tests and update to latest api * fix go sum * fix json naming in conformance tests
Fixes #17802