Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Create an auto-restarter for use with skaffold. #81

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Dec 27, 2019

  • Related to speedup development by using skaffold file sync #78 - Speedup development using
    skaffold file sync

  • Skaffold can auto sync python files to a deployed container skipping the
    expensive image rebuilding and deployment steps.

  • However, for that to work we need to restart our program when the files
    change.

  • We can't rely on Flask's autoreloader because some of our models interact
    poorly with Flask's debug mode.

  • This is a simple python program that launches another program in a subprocess.
    The program will also watch directories an automatically restart the
    subprocess if any file changes are detected.


This change is Reviewable

* Related to kubeflow#78 - Speedup development using
  skaffold file sync

* Skaffold can auto sync python files to a deployed container skipping the
  expensive image rebuilding and deployment steps.

* However, for that to work we need to restart our program when the files
  change.

* We can't rely on Flask's autoreloader because some of our models interact
  poorly with Flask's debug mode.

* This is a simple python program that launches another program in a subprocess.
  The program will also watch directories an automatically restart the
  subprocess if any file changes are detected.
@jlewi
Copy link
Contributor Author

jlewi commented Dec 27, 2019

/assign @hamelsmu

split from #77

@hamelsmu
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hamelsmu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 7e9ce35 into kubeflow:master Dec 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants