Closed windnod closed 2 months ago
@windnod Thank you for raising the issue. the reason that yurthub can not support different list requests is:
based on the above explanation, we can not solve this problem by modifying the CanCacheFor
function.
and we have discussed this case in the community, and @JameKeal have raised a proposal to solve this problem, the proposal link is here: https://github.com/openyurtio/openyurt/pull/1614
but i think @JameKeal maybe has not enough time to implement this proposal. If you are interested in this case, we can have a discussion on the community meeting.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happened: the CanCacheFor() method filters out requests with the same path but different selector, so the controller on edge node can not list same path but with different selector when edge node is offline.
What you expected to happen: YurtHub is capable of correctly proxying requests that have the same path but different selectors when edge node is offline.
Anything else we need to know?:
Environment:
kubectl version
):cat /etc/os-release
):uname -a
):others
/kind bug