Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Ksync keeps crashing  #334

@alok87

Description

@alok87

We are facing this issue across the organization with the latest ksync version also. (0.4.3)
There are two issues here.

  1. ksync crashes very frequently. Almost after sometime.
    panic: interface conversion: runtime.Object is *v1.Status, not *v1.Pod
INFO[0012] updating                                      pod=voice-20200219-120234-67b8959787-npsbd spec=voicespec
INFO[0012] update complete                               pod=voice-20200219-120234-67b8959787-npsbd spec=voicespec
panic: interface conversion: runtime.Object is *v1.Status, not *v1.Pod
  1. When it crashes(exits 1), it keeps running the syncthing command in the background. So the next start also gets stuck. So we need to kill the process manually and then start it again.
$ ksync watch
INFO[0001] listening                                     bind=127.0.0.1 port=40322
INFO[0001] syncthing listening                           port=8384 syncthing=localhost
INFO[0001] new pod detected                              pod=voice-20200219-120234-67b8959787-npsbd spec=voicespec
FATA[0002] Something is running on 8384 (run 'lsof -i :8384' to find out). Please stop that process before continuing.

Really want to fix this with ksync. It becomes really difficult to work locally when these problems are quite frequent.

Any pointers on how to go about debugging this issue and finding its root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions