TensorFlow Serving Inception v3
TensorFlow Serving is an open-source software library for serving machine learning models. This chart will specifically serve the Inception v3 model with already trained data.
TL;DR;
$ helm install incubator/tensorflow-inception
Introduction
This chart bootstraps a TensorFlow Serving Inception v3 pod on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.4+ with Beta APIs enabled
- PV provisioner support in the underlying infrastructure
Get this chart
Download the latest release of the chart from the releases page.
Alternatively, clone the repo if you wish to use the development snapshot:
$ git clone https://github.com/bitnami/charts.git
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release incubator/tensorflow-inception
The command deploys Tensorflow Serving Inception v3 model on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip
: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
You can check your releases with:
$ helm list
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of the TensorFlow Inception chart and their default values.
| Parameter | Description | Default |
|---|---|---|
server.image |
Tensorflow server image | bitnami/tensorflow-serving:{VERSION} |
server.port |
Tensorflow server port | 9000 |
client.image |
Tensorflow client image | bitnami/tensorflow-inception:{VERSION} |
imagePullPolicy |
Image pull policy | Always if image tag is latest, else IfNotPresent |
persistence.enabled |
Use a PVC to persist data | true |
persistence.storageClass |
Storage class of backing PVC | nil (uses alpha storage class annotation) |
persistence.accessMode |
Use volume as ReadOnly or ReadWrite | ReadWriteOnce |
persistence.size |
Size of data volume | 500Mi |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install --name my-release incubator/tensorflow-inception --set imagePullPolicy=Always
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml incubator/tensorflow-inception
Tip
: You can use the default values.yaml