You can make your Tensorflow model a Docker image by making changes to Dockerfile and deploy to Kubernetes.
Details at the Wiki.
Install Docker
Install Kubernetes
- Copy the model file into the 'models' folder.
- Replace MODEL_NAME in Dockerfile with your own model name.
$ docker build -t IMAGE_NAME . $ docker run -p 8501:8501 IMAGE_NAME - You can use the url.
localhost:8501 $ cd kubernetesFiles $ kubectl apply –f deployment.yaml
$ kubectl apply –f service.yaml