Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pod exec freezes after few minutes #5082

Closed
iamsanketsingh opened this issue Apr 20, 2020 · 7 comments
Closed

pod exec freezes after few minutes #5082

iamsanketsingh opened this issue Apr 20, 2020 · 7 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@iamsanketsingh
Copy link

Environment

Installation method: - kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml 
Kubernetes version: - v1.16.7  (managed by azure -aks)
Dashboard version: v2.0.0-beta8 
operating system: mac os catalina 10.15.4

Steps to reproduce

  1. I have used the AKS to create a cluster.
  2. deployed the dashboard using above template. (specified in installation method)
  3. changed the svc type to loadbalancer and in deployment changed it to https to http
  4. then associated the loadbalancer's ip to Application gateway.

Observed result
Screen Shot 2020-04-20 at 4 21 52 PM
at first when i try to exec into pod, it works fine but after 1-2 minute it freezes, nothing works and I have to reload the page.
When you open an exec terminal in a pod, it becomes unresponsive at the very momenty I close the web terminal window.

Thanks

@iamsanketsingh iamsanketsingh added the kind/bug Categorizes issue or PR as related to a bug. label Apr 20, 2020
@floreks
Copy link
Member

floreks commented Apr 20, 2020

Probably related to #5064. Should be fixed on master.

@iamsanketsingh
Copy link
Author

iamsanketsingh commented Apr 20, 2020

@floreks I don't get any error and there is also nothing on logs. terminal just freezes and then i need to reload the page. No error message is shown neither on terminal nor in logs. And at first when i request for shell, it works perfectly fine.

@floreks
Copy link
Member

floreks commented Apr 20, 2020

It might have something to do with your LB configuration. It could be closing the open connection due to some timeout. I kept terminal open for an hour without any interaction and it was working just fine after that in our reverse proxy setup. It also works fine when using kubectl proxy. This makes me think that there might be something wrong with your configuration here.

@iamsanketsingh
Copy link
Author

Yeah that might be the case here, let me check it with aks and application gateways configuration.

@zetsub0u
Copy link

I have the same issue in bare metal kubernetes using contour as Ingress, any pointers? I've seen quite a few people talk about this before, some other people mentioned tunning some timeouts on ngnix, i don't see how to tune this on envoy, maybe there's a way to have more proactive keepalives in the dashboard so we don't all have to tune our ingresses?

@floreks
Copy link
Member

floreks commented May 28, 2020

Tracked from #2029

/close

@k8s-ci-robot
Copy link
Contributor

@floreks: Closing this issue.

In response to this:

Tracked from #2029

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants