Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix notebook server_examples to not fail on MLFlow server #2050

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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