Deep MNIST Webapp
- You have installed Seldon on a Kubernetes cluster
- You have setup the Tensorflow Deep MNIST microservice on your cluster, on a client called “deep_mnist_client”.
Getting the client key and secret
The webapp will communicate with the client via a REST API. It needs to authenticate using a client key and secret. We will use the seldon cli to obtain the key and secret.
More detail on how to use the seldon cli can be found in our seldon-cli documentation.
Getting the IP address of seldon-server
To find out the internal IP address of the seldon-server container in your cluster use the following command:
You will need to give this IP address to your webapp in the next step so that it knows where to query for predictions.
Start the webapp
The webapp is available prepackaged in a docker container
seldonio/deep_mnist_webapp on dockerhub. The source code can be found here. We are going to start the webapp from the docker image using the following command:
Now we need to expose port 80 so that the webapp can be accessed outside your cluster:
Try it out!
This is it, you should now be able to access the webapp on your browser. First, find out the external IP address of the webapp by running:
Now you can just go to
http://<external-ip>:80 in your favorite browser.