Hi! How do I stop orbit from auto-updating? Our or...
# fleet
d
Hi! How do I stop orbit from auto-updating? Our orbit runs in a closed environment and it tries to connect to this and fails:
Copy code
2024-10-17T22:36:51Z INF update metadata. using saved metadata error="update metadata: tuf: failed to download 5.root.json: Get \"<https://tuf.fleetctl.com/5.root.json>\": dial tcp 143.244.50.209:443: i/o timeout"
If I get rid of this from the
/etc/default/orbit
file, will it help resolve the issue?
Copy code
ORBIT_UPDATE_URL=<https://tuf.fleetctl.com>
ORBIT_ORBIT_CHANNEL=stable
ORBIT_OSQUERYD_CHANNEL=stable
ORBIT_UPDATE_INTERVAL=15m0s
@Rebecca Cowart can you or someone else please assist!
r
@Darshal Shah I'm actually looking into this right now! 🙂 I'll have a response for you shortly.
d
Thank you!
r
I would recommend deploying a new package with updates disabled. You can also configure the orbit update channel via agent options. There are available options for the key
agent_options.update_channels.orbit
. The way to make it stop auto-updating would be to set a specific version as the value to the key. You can also configure it with the
--orbit-channel
flag when running the fleetctl package command.
d
Thank you so much! Thats helpful. I just have a few follow up questions! Is it possible for us to quickly huddle? It should only take 2-3 mins tops!
Actually dont need huddle anymore! Thanks again
r
Okay, glad I could help! Here is an article about Fleetd updates that may give you a broader picture of the update structure.