devpod icon indicating copy to clipboard operation
devpod copied to clipboard

devpod --disable-daemon question

Open solesensei opened this issue 8 months ago • 2 comments

Hi, I'm trying to understand how the --disable-daemon option works with the Kubernetes provider.

When I use this option, I expect DevPod not to install its agent on the pod. However, I still see the following log:

09:51:18 debug Attempting to download DevPod agent from: https://github.com/loft-sh/devpod/releases/download/v0.6.15/devpod-linux-amd64

I would appreciate your help in understanding this behavior.


Why? Sometimes it takes a long time to download the devpod agent to the pod, and sometimes the entire process fails because of it. If I don't need the inactivity tracking feature, I want to be able to disable it. Then I won't understand why the agent is still downloading.

solesensei avatar Apr 09 '25 08:04 solesensei

Hi @solesensei, so what your referring to is the devpod agent (not daemon). This is used as the remote server running in the devpod to provide functionality such as SSH, port forwarding etc from your local machine. Without this devpod would not work.

The flag you mentioned will prevent an additional process devpod container daemon from running, which controls the activity monitor to sleep the unused pods as you mention.

The agent is about 100MB so if the connection fails I would investigate your networking. If you are really stuck you can set up your own mirror for the agent by setting AGENT_URL in the context options. Let me know if that answers your question :)

bkneis avatar Apr 15 '25 10:04 bkneis

Thanks for the clarification. Would try

solesensei avatar Apr 15 '25 12:04 solesensei

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jun 15 '25 02:06 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Jul 15 '25 02:07 github-actions[bot]