Open djangoUnchained1 opened 2 years ago
I'm pretty curious about this one, I'm not sure that changing the syntax would be easy, because it's behaving as it does in kubectl
I believe.
What I was hoping to be able to do was something like this:
$ kubefwd svc -n namespace-1 -f metadata.name service-1 -f metadata.name service-2 -n namespace-2 -f metadata.name service-1
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:
service-1.namespace-1
service-2.namespace-1
service-1.namespace2
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.
Do we have a chance make some workaround? How we can filter by name: -f "metadata.name in (service-1, service-2, service-3)"