cancel
Showing results for 
Search instead for 
Did you mean: 
CharlesG
Cadet
Cadet
  • 1,601 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?

 

Labels (1)
0 Kudos
1 Reply
jordisola
Flight Engineer
Flight Engineer
  • 1,582 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

 

 

 

0 Kudos
Join the discussion
You must log in to join this conversation.