nuvo / kube-tasks

A tool to perform simple Kubernetes related actions
Apache License 2.0
23 stars 30 forks source link

Sync not skipping the changed files #2

Open prudhvigodithi opened 5 years ago

prudhvigodithi commented 5 years ago

Hey while I run this kube-tasks, syncing Jenkins data to s3, the sync works perfectly fine but when someone starts building in Jenkins it is obvious that few build flies inside the Jenkins job backend changes so the sync is failing with kube-tasks with error "error in Stream: command terminated with exit code 1 src: file:" Is there a way if file changed to skip the change and move forward with sync as in next sync it should sync the changed file again or is there any skip option or avoid the change option for the sync to s3 complete without getting the above error? This could either be with large amount of data being synced? as i saw inside the kube-tasks container is up the sync process is still running though the log shows the above error. Thanks