Search code examples
instana

How to set mode and time in Dynamic Agents?


I am referring to this page:

https://www.instana.com/docs/setup_and_manage/host_agent/updates/#update-interval

Is there a way to pass mode and time from outside as environment variables or any other way beside logging into the pod and manually changing the files inside etc/instana/com.instana.agent.main.config.UpdateManager.cfg file?


Solution

  • To whoever removed his/her answer: It was a correct answer. I don't know why you deleted it. Anyhow, I am posting again in case someone stumbles here.

    You can control frequency and time by using INSTANA_AGENT_UPDATES_FREQUENCY and INSTANA_AGENT_UPDATES_TIME environment variables.

    Updating mode via env variable is still unknown at this point.

    Look at this page for more info: https://www.instana.com/docs/setup_and_manage/host_agent/on/docker/#updates-and-version-pinning