https://garden.io logo
Code syncing stops if pod gets evicted and recreated
s

swift-garage-61180

05/04/2023, 12:12 PM
Jake asked last night: > is it a known issue that dev mode syncing breaks and doesn't re-establish properly when a pod gets evicted by k8s?" I’m not sure if it’s known or not, but our sync mode should definitely be able to reconnect when a pod gets evicted. Looks like we may be missing some lifecycle logic to properly handle that case.
Should I take a look at this for the Bonsai release, or should we leave this one for later?
k

kind-france-89777

05/04/2023, 5:27 PM
thanks for bringing this here! it was my next stop after checking internally first 😂 I don't really have a good sense of how big of a problem this is. in the case of this customer, the real fix was just to up the resource requests for the pod that was getting evicted a bunch, but it's still not great that we don't properly re-establish syncing when this happens.