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
@gclawes tested this and it looks like our k8s code will batch output on kubectl logs -f.
It should deliver logs to kubectl once there are ~32kb of fresh log data.
Can you try kubectl logs -f with a chatty pod, and wait a few minutes to see if new logs show up?
The code should also be flushing every 100ms, but it's not happening for some reason. I'll look into that.
Description
What happened:
kubectl logs -f
hangs when accessing a cluster through the new kubernetes service. Omitting-f
works.After cancelling the command with
^C
, this appears in the logs of the teleport kubernetes service:What you expected to happen:
kubectl logs -f
to work as intendedHow to reproduce it (as minimally and precisely as possible):
teleport-kube-agent
connecting to proxy.kubectl logs -f
on any pod in cluster.Ctrl-C
Environment
Teleport version (use
teleport version
): 5.0.0Tsh version (use
tsh version
): 5.0.0OS (e.g. from
/etc/os-release
): client: macOS, proxy: debian, auth: ubuntu, kubernetes: k3sWhere are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): Dedicated hardware*
*NOTE: running on RPi4 cluster using a container derived from the build file modifications here: #3384 (comment)
Browser environment
Relevant Debug Logs If Applicable
tsh --debug
teleport --debug
The text was updated successfully, but these errors were encountered: