-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
combine proxymode = shared
and inpod_mode = true
#1031
base: master
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
b580e31
to
3e42590
Compare
slapping a hold on until @keithmattix @jaellio @justinpettit have a chance to weigh in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, how does direct.rs work still?
This seems to break local development flows which I didn't realize would happen when initially discussing
By setting
Local development flows as in Or local development flows as in |
Doesn't dedicated not allow multiple clients with unique source though? do we just not test that |
I don't believe we test that. Probably because we have too many flags that influence how tenancy works. That's kind of what I'm trying to say with this PR, we really only have two tenancy modes as far as I can see - multi tenant and single tenant. Multitenant is only supported, tested, exercised and fully functional with inpod. And if we don't test it and we don't use it, I don't know why we carry it/am waiting for an argument as to why we should carry (and thus test) it, or not. |
Well we do test it, this PR removed the tests 🙂. This currently breaks how develop and ~exclusively run ztunnel. Mind if I take a bit to poke around and see if there are viable alternatives with this change to develop locally? |
Fair, we lightly test it, sorta, in one spot with 3 tests, and don't support the mode. Yep, please - I don't develop with standalone local ztunnel so I'm not the best testbed for that. (Am also OK with just not doing this if it's a pain - just feels like we should drop or consolidate these flags) |
PR needs rebase. Instructions 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-sigs/prow repository. |
We currently have
ProxyMode::Dedicated | Shared
andInpodEnabled: true|false
and I can't think of any scenarios where those are not basically indicating the same thing.We also sort of don't use
ProxyMode
at all, and I think we should - the tenancy model is more important to express than how we do the tenancy model (currently we have only one multitenant model anyway, so why make it optional?).