fix: enable issue of endpointslices for k8s discovery#11654
Conversation
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the [email protected] list. Thank you for your contributions. |
|
This pull request/issue has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
|
Hi @slayer321, I reopened this pull request. Can you merge the master branch and re-execute this CI? |
ae7e592 to
41fde09
Compare
|
Hey @Baoyuantop , I have rebase with master but I think to run CI it needs some approval. |
|
Hi @slayer321, can you fix the failed CI? |
41fde09 to
9425059
Compare
|
Hi @Baoyuantop , I have fixed CI changes and pushed it. |
|
There are some code lint errors. |
|
Hi @slayer321, there is a failed CI that needs to be fixed. |
…now check if the endpointslices variable is of type table
9425059 to
9ecd6aa
Compare
|
Hey @Baoyuantop , the linting error that I coming . I tried running it locally but it is showing skipped Also another CI build that is failing I'm not sure the reason for that. I thought of re running the CI.. but I see that I can't rerun it. |
|
Hey @Baoyuantop , should we merge the PR . |
I will remind other maintainers again to review it, one more approval is needed. |
| if nodes == nil then | ||
| nodes = core.table.new(0, #endpointslices * #addresses) | ||
| endpoint_buffer[port_name] = nodes | ||
| if type(endpointslices) == "table" then |
There was a problem hiding this comment.
Why add this extra judgment? Is there any problem with the previous handling of endpointslices or {}?
Description
use
conf.watch_endpoint_slicesto enable endpointslices whenever it is set to true. Fixed the test.Fixes #11631
Checklist