Connection issues when using k9s with tsh kube login
compared to tsh proxy kube
#49622
Labels
tsh kube login
compared to tsh proxy kube
#49622
Expected behavior:
tsh kube login my-cluster
k9s
Start navigating and using k9s as normal without needing to wait or have any context deadline or connection issues.
Current behavior:
tsh kube login my-cluster
k9s
Try to navigate anywhere in k9s like viewing logs, describing pods or changing namespaces.
Observe k9s hang or become slow. Often will throw an error like http2 connection lost or context deadline exceeded.
Usually if you let it sit for a minute or two, it will recover and become fully usable but not always.
If I use
tsh proxy kube
instead, I don't observe this issue and can immediately use k9s as normal.If I use
kubectl
withtsh kube login
, I also do not encounter these issues.Bug details:
Teleport Version: 17.1.2
Cluster Helm configuration:
Using Network Load Balancer in AWS with
multiplex
or TLS routing enabled.Teleport Agent configuration (another kubernetes cluster):
k9s logs:
I only see code 200 and 201 responses in the teleport-agent and teleport-proxy logs. However, I do notice that on startup of k9s I don't see any logs in teleport-proxy at all and then I start seeing context deadlines once I start trying to issue commands in k9s. Is it possible that the initial connection(s) from k9s is taking a while?
The text was updated successfully, but these errors were encountered: