You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've built a thin wrapped over Kubefwd, but it currently only supports forwarding services in the default namespace. I was hoping to be able to update it so I could basically specify a list of services like this:
And then run the appropriate command behind the scenes to pick that out. I think this might be possible using label selectors and multiple namespaces (maybe), but not all of the apps are first-party and have the same label structure, which makes this a lot more difficult.
The only solution seems to be using the Chained selectors to exclude services you don't want to port-forward, rather than having a set of included service, as this is not supported in kubectl.
Let's say you have 5 services (sv-1, sv-2, sv-3, sv-4 and sv-5). If you need to port-forward the first 3 of them, you can run this command to achive this behaviour:
Do we have a chance make some workaround?
How we can filter by name: -f "metadata.name in (service-1, service-2, service-3)"
The text was updated successfully, but these errors were encountered: