We have large number of tasks(~30) kicked off by SCDF on PCF, however we are running to disk space issues with SCDF, the issue appears to be due to SCDF downloading artifacts each time a task is invoked.
- The artifacts in our case are downloaded from an rest endpoint https://service/{artifact-name-version.jar} (which inturn serves it from an S3 repository)
- Every time a task is invoked, it appears that SCDF downloads the artifact (to ~tmp/spring-cloud-deployer directory)verifies the sha1 hash to make sure it's the latest before it launches the task on PCF
- The downloaded artifacts never get cleaned up
It's not desirable to download artifacts each time and fill up disk space in ~tmp/ of SCDF instance on PCF. Is there a way to tell SCDF not to download artifact if it already exists ?
Also, can someone please explain the mechanism of artifact download, comparing sha1 hash and launching tasks (and various options around it)
Thanks !