Containerized Netdata agent update and node claiming
I’m an happy user of netdata cloud app. all my nodes have a netdata agent installed, using a slightly customized docker image, based on the official netdata agent image.
my question is about netdata agent image update and node claiming: each time i update the netdata agent image, and restart my containers i have to re-claim the nodes (and delete the old nodes from netdata cloud app).
is there a way (may be some volume to be persisted ?) to make it not necessary to claim a node after the agent image update ?
thanks a lot for your help,
Rybue last edited by
Cloud data stored in /var/lib/netdata/cloud.d folder inside container.
I would probably advise to use volume and mount it to /var/lib/netdata path to make it persistent
Thanks @rybue for this. @sgaide, as you can see in our docker documentation, we suggest the user to create a
persistent volumefor the whole
/var/lib/netdatadirectory, as it also contains the unique
uuidof the node.
If you give us more information on how you deploy the container, we might be able to give you more specific instructions.
Welcome to our forums and happy monitoring!
thanks a lot,
it works perfectly ! i can now docker-compose down / up without loosing my nodes in netdata cloud.
thanks a lot !
Hey @joel, you might find this interesting. Perhaps a small
tipaddition to the claiming docs?