-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Port forwarding doesn't work for kubernetes #12459
Comments
I experience a similar issue. The error message I get from something like The issue appears to be due to teleport v9.2 and/or a conflict between v9.1 and v9.2. In my setup when I use v9.1 for the auth+proxy server and v9.2 with the other node that I want to expose k8s from, I get the issue above. When using v9.1 for both everything works as expected. Precise version numbersauth+proxy: Teleport v9.1.1 git:v9.1.1-0-gb0129ff5e go1.17.9 |
OK, I haven't tried downgrading yet but I guess I'll go back to 9.1.3 until this issue is resolved. |
OK, I just verified on version 9.2.1, and it's fixed. |
Expected behaviour:
If I try to port-forward something with let's say
kubectl port-forward my-pod 8080
my local port 8080 should get forwarded to the port 8080 on that pod.Current behaviour:
I get the error
error: error upgrading connection: missing parameter MaxLeases
. This is the case for port-forwarding to a pod or to a service.Bug details:
Found out a bit later:
The same behaviour is if I try to create an interactive shell to a pod, like this:
kubectl exec -it my-pod -- bash
.The text was updated successfully, but these errors were encountered: