Git Product home page Git Product logo

ajiybanesij / tensorflow-model-server-docker-kubernetes Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16 KB

You can make your Tensorflow model a Docker image by making changes to Dockerfile and deploy Kubernetes.

License: MIT License

Dockerfile 100.00%
docker tensorflow tensorflow-models tensorflow-model-server server docker-image docker-container image dockerfile kubernetes tensorflow-model kubernetes-deployment kubernetes-service kubernetes-controller

tensorflow-model-server-docker-kubernetes's Introduction

Tensorflow Model Server Docker Image

License: MIT

You can make your Tensorflow model a Docker image by making changes to Dockerfile and deploy to Kubernetes.

Details at the Wiki.

Requirement

Install Docker

Install Kubernetes

Creation of Docker Image

1. Step

  • Copy the model file into the 'models' folder.

2. Step

  • Replace MODEL_NAME in Dockerfile with your own model name.

3. Step (This step may take some time!)

  $ docker build -t IMAGE_NAME .

4. Step

  $ docker run -p 8501:8501 IMAGE_NAME  

5. Step

  • You can use the url.
  localhost:8501

Deploy Kubernetes

1. Step

  $ cd kubernetesFiles

2. Step

  $ kubectl apply –f deployment.yaml
  $ kubectl apply –f service.yaml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.