Skip to content

Sync crash when a targeted pod dies #885

@dsebastien

Description

@dsebastien

What happened?
I've configured devspace sync to sync to multiple pods based on labels.
The sync starts normally and files are synchronized.
After a while, one of the pod dies or is killed manually (whatever the reason).
At this point, devspace sync seems to die because it lost contact with one of the targeted pods.

What did you expect to happen instead?
I would've liked for sync to just keep going and try to find new pods matching the labels to sync files to those.

How can we reproduce the bug? (as minimally and precisely as possible)
Configure devspace sync to sync to (at least 2?) pods based on label X. Start devspace, let it do what it does. Once stable, kill one of the 'X' labeled pods.

Local Environment:
Lnux

  • OS: Linux
  • Deployment method: kubectl apply

Kubernetes Cluster:

  • Minikube
  • Kubernetes Version: 1.17.0

Anything else we need to know?

/kind bug

Metadata

Metadata

Assignees

Labels

area/syncIssues related to the real-time code synchronizationkind/bugSomething isn't workingp/highHigh priority will be done as soon as possible

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions