devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Kubernetes Inactivity Timeout | Problems

Open solesensei opened this issue 1 year ago • 2 comments

What happened?

  • Ran several pods with InactivityTimeout: 1h.
  • Pods without any active processes weren't stopped after 2 days

What did you expect to happen instead?

  • Pods stopped after 1h

Local Environment:

  • DevPod Version: 0.3.7
  • Operating System: mac
  • ARCH of the OS: ARM64

DevPod Provider:

  • Cloud Provider: azure
  • Kubernetes Provider: v1.25.6
  • Local/remote provider: docker
  • Custom provider: provide imported provider.yaml config file

Anything else we need to know?

Please explain how the inactivity timeout was intended to work. Did I miss something?

solesensei avatar Oct 15 '23 20:10 solesensei

Hi @solesensei, sounds like a bug - we'll investigate

pascalbreuninger avatar Oct 16 '23 07:10 pascalbreuninger

For the context: I used VSCode to connect to the pod. As far as I understand vscode uses the same ssh_config with devpod proxy, which restarts a stopped pod every time you reload the window / retry connection.

But when the laptop is closed, I think this shouldn't be a problem. So 2 days up time without processes is odd.

solesensei avatar Oct 16 '23 08:10 solesensei