sync: disableDownload -- Syncing files to / appears that devspace still processes index for entire container #1218
Labels
area/sync
Issues related to the real-time code synchronization
kind/feature
New feature or feature request
What happened?
My containers workdir is
/
. I setcontainerPath: /
. It appears the container may be copying all files in root to local computer. Trying to setdisableDownload
did not help. Initial sync never finishes.I left sync running once for a while and finally got an out of memory error.
Setting
downloadExcludePaths: ["/"]
worked however.Thanks @LukasGentele for all your help.
What did you expect to happen instead?
With
disableDownload
initial sync should happen quickly and syncing should begin. Entire container index should not be processed.How can we reproduce the bug? (as minimally and precisely as possible)
Have image with workdir
/
. Try syncing files to the container. That should hopefully reproduce as that is what I have going on.Local Environment:
devspace --version
]: 5.2.2Kubernetes Cluster:
kubectl version
]Anything else we need to know?
/kind bug
The text was updated successfully, but these errors were encountered: