ktunnel icon indicating copy to clipboard operation
ktunnel copied to clipboard

Ktunnel uses unexpected pods

Open andrey-bondar opened this issue 1 year ago • 0 comments

If there are 2 deployments with the same prefix, ktunnel uses pods from unexpected deployments. For example, if there are deployments react1 and react11, then kubectl tunnel expose react1 will try to watch pods from react11 deployment.

I guess, that this is because of using prefix here https://github.com/omrikiei/ktunnel/blob/master/pkg/k8s/common.go#L224

andrey-bondar avatar Feb 14 '24 15:02 andrey-bondar