Skip to content

Commit

Permalink
Merge pull request #2050 from RafalSkolasinski/fix/notebooks/server_e…
Browse files Browse the repository at this point in the history
…xamples

fix notebook server_examples to not fail on MLFlow server
  • Loading branch information
ukclivecox committed Jun 30, 2020
2 parents 7badef5 + 56c5844 commit dae2cf2
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion notebooks/server_examples.ipynb
Expand Up @@ -509,7 +509,31 @@
"spec:\n",
" name: wines\n",
" predictors:\n",
" - graph:\n",
" - componentSpecs:\n",
" - spec:\n",
" # We are setting high failureThreshold as installing conda dependencies\n",
" # can take long time and we want to avoid k8s killing the container prematurely\n",
" containers:\n",
" - name: classifier\n",
" livenessProbe:\n",
" initialDelaySeconds: 80\n",
" failureThreshold: 200\n",
" periodSeconds: 5\n",
" successThreshold: 1\n",
" httpGet:\n",
" path: /health/ping\n",
" port: http\n",
" scheme: HTTP\n",
" readinessProbe:\n",
" initialDelaySeconds: 80\n",
" failureThreshold: 200\n",
" periodSeconds: 5\n",
" successThreshold: 1\n",
" httpGet:\n",
" path: /health/ping\n",
" port: http\n",
" scheme: HTTP\n",
" graph:\n",
" children: []\n",
" implementation: MLFLOW_SERVER\n",
" modelUri: gs://seldon-models/mlflow/elasticnet_wine\n",
Expand Down

0 comments on commit dae2cf2

Please sign in to comment.