Skip to content

Commit

Permalink
Fix and format PVC with TFJob example
Browse files Browse the repository at this point in the history
Fixes the broken notebook.
  • Loading branch information
ozturkberkay committed Apr 26, 2020
1 parent 18f4a51 commit 9824784
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions examples/models/pvc-tfjob/pvc-tfjob.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
"source": [
"In this example we will deploy a tensorflow MNIST model. The model will be created using a TFJob and stored in a PVC. \n",
"\n",
"This example requires TFJob. The example is [based on a kubeflow example](https://github.com/kubeflow/kfserving/tree/master/docs/samples/pvc) and is [tailored for Seldon](https://github.com/SeldonIO/seldon-core/issues/1106).
.\n",
"This example requires `TFJob`. The example is [based on a Kubeflow example](https://github.com/kubeflow/kfserving/tree/master/docs/samples/pvc) and is [tailored for Seldon](https://github.com/SeldonIO/seldon-core/issues/1106).\n",
"\n",
"First install the TFJob custom resource or all of kubeflow, together with seldon. Follow your chosen [kubeflow installation as these currently all include Seldon](https://www.kubeflow.org/docs/started/k8s/). You'll also need to [be able to provision volumes on your cluster](https://github.com/SeldonIO/seldon-core/issues/1191#issuecomment-562047298).\n",
"First install the `TFJob` custom resource or all of Kubeflow, together with Seldon. Follow your chosen [Kubeflow installation as these currently all include Seldon](https://www.kubeflow.org/docs/started/k8s/). You'll also need to [be able to provision volumes on your cluster](https://github.com/SeldonIO/seldon-core/issues/1191#issuecomment-562047298).\n",
"\n",
"Then follow the below steps to create a pvc, create a model on the pvc using TFJob and create a SeldonDeployment for the model."
"Then follow the below steps to create a PVC, create a model on the pvc using `TFJob` and create a `SeldonDeployment` for the model."
]
},
{
Expand All @@ -27,7 +26,7 @@
"metadata": {},
"outputs": [],
"source": [
"kubectl apply -f pvc.yaml"
"kubectl apply -f pvc.yaml"
]
},
{
Expand All @@ -36,7 +35,7 @@
"metadata": {},
"outputs": [],
"source": [
"kubectl apply -f tfjob.yaml"
"kubectl apply -f tfjob.yaml"
]
},
{
Expand Down Expand Up @@ -65,7 +64,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
"version": "3.7.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 9824784

Please sign in to comment.