CharlesG

Cadet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019
02:28 PM
- 1,809 Views
S2I save script
Here is an example save script for s2i:
if [ -d ${HOME}/.m2 ]; then
pushd ${HOME} > /dev/null
tar cf - .m2
popd > /dev/null
fi
where is the compressed save file physically stored? on the node Vm? etcd?
1 Reply
jordisola

Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019
09:32 PM
- 1,790 Views
Hi Charles
Not 100% sure, I need to investigate a bit further, but my educated guess is that this is stored in the etcd cluster (even maybe in the build configuration metadata).
I don't think it can be stored in the node (VM or bare metal). If the archive were stored in the node, the next incremental build would be restricted to the same node. Same build in a different node and that is indeed not the case.
Let me know if this answers your question. Else I will investigate a bit more.
Kind regards
Jordi
Join the discussion
You must log in to join this conversation.