Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the web-ui for the mnist example #473

Merged
merged 3 commits into from
Jan 14, 2019

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Jan 13, 2019

Copy the mnist web app from
https://github.com/googlecodelabs/kubeflow-introduction

  • Update the web app

    • Change "server-name" argument to "model-name" because this is what
      is.

    • Update the prediction client code; The prediction code was copied
      from https://github.com/googlecodelabs/kubeflow-introduction and
      that model used slightly different values for the input names
      and outputs.

    • Add a test for the mnist_client code; currently it needs to be run
      manually.

  • Fix the label selector for the mnist service so that it matches the
    TFServing deployment.

  • Delete the old copy of mnist_client.py; we will go with the copy in ewb-ui from https://github.com/googlecodelabs/kubeflow-introduction

  • Delete model-deploy.yaml, model-train.yaml, and tf-user.yaml.
    The K8s resources for training and deploying the model are now in ks_app.

Related to: googlecodelabs/kubeflow-introduction#7 unify codelab and kubeflow/examples
#460 E2E tests for Kubeflow
#200 Upgrade mnist to Kubeflow 0.4


This change is Reviewable

Copy the mnist web app from
https://github.com/googlecodelabs/kubeflow-introduction

* Update the web app

   * Change "server-name" argument to "model-name" because this is what
     is.

   * Update the prediction client code; The prediction code was copied
     from https://github.com/googlecodelabs/kubeflow-introduction and
     that model used slightly different values for the input names
     and outputs.

  * Add a test for the mnist_client code; currently it needs to be run
    manually.

* Fix the label selector for the mnist service so that it matches the
  TFServing deployment.

* Delete the old copy of mnist_client.py; we will go with the copy in ewb-ui from https://github.com/googlecodelabs/kubeflow-introduction

* Delete model-deploy.yaml, model-train.yaml, and tf-user.yaml.
  The K8s resources for training and deploying the model are now in ks_app.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

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

jlewi added 2 commits January 12, 2019 18:22
…It seems like some requests don't work behind a reverse proxy.
@jlewi jlewi changed the title [wip] Add the web-ui for the mnist example Add the web-ui for the mnist example Jan 13, 2019
@jlewi
Copy link
Contributor Author

jlewi commented Jan 13, 2019

/assign @zhenghuiwang
/assign @texasmichelle

This is now ready for review.

@zhenghuiwang
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 6770b4a into kubeflow:master Jan 14, 2019
govindKAG pushed a commit to govindKAG/examples that referenced this pull request Feb 27, 2019
* Add the web-ui for the mnist example

Copy the mnist web app from
https://github.com/googlecodelabs/kubeflow-introduction

* Update the web app

   * Change "server-name" argument to "model-name" because this is what
     is.

   * Update the prediction client code; The prediction code was copied
     from https://github.com/googlecodelabs/kubeflow-introduction and
     that model used slightly different values for the input names
     and outputs.

  * Add a test for the mnist_client code; currently it needs to be run
    manually.

* Fix the label selector for the mnist service so that it matches the
  TFServing deployment.

* Delete the old copy of mnist_client.py; we will go with the copy in ewb-ui from https://github.com/googlecodelabs/kubeflow-introduction

* Delete model-deploy.yaml, model-train.yaml, and tf-user.yaml.
  The K8s resources for training and deploying the model are now in ks_app.

* Fix tensorboard; tensorboard only partially works behind Ambassador. It seems like some requests don't work behind a reverse proxy.

* Fix lint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants