Skip to content

Commit

Permalink
having image means hashed deployment name
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandawsonuk committed Aug 12, 2019
1 parent 8485559 commit 133cf37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions notebooks/server_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -730,13 +730,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Waiting for deployment \"mnist-default-d53c803\" rollout to finish: 0 of 1 updated replicas are available...\n",
"deployment \"mnist-default-d53c803\" successfully rolled out\n"
"Waiting for deployment \"mnist-default-808f52c\" rollout to finish: 0 of 1 updated replicas are available...\n",
"deployment \"mnist-default-808f52c\" successfully rolled out\n"
]
}
],
"source": [
"!kubectl rollout status deploy/mnist-default-d53c803"
"!kubectl rollout status deploy/mnist-default-808f52c"
]
},
{
Expand Down Expand Up @@ -1642,9 +1642,9 @@
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
"lenName": 16.0,
"lenType": 16.0,
"lenVar": 40.0
},
"kernels_config": {
"python": {
Expand Down
6 changes: 3 additions & 3 deletions testing/scripts/test_prepackaged_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TestPrepackSkLearn(object):
def test_sklearn(self):
run("kubectl delete sdep --all", shell=True)
run("kubectl apply -f ../../servers/sklearnserver/samples/iris.yaml", shell=True, check=True)
wait_for_rollout("iris-default")
wait_for_rollout("iris-default-8bb3ef6")
wait_for_status("sklearn")
print("Initial request")
sc = SeldonClient(deployment_name="sklearn",namespace="seldon")
Expand All @@ -45,7 +45,7 @@ def test_sklearn(self):
def test_tfserving(self):
run("kubectl delete sdep --all", shell=True)
run("kubectl apply -f ../../servers/tfserving/samples/mnist_rest.yaml", shell=True, check=True)
wait_for_rollout("mnist-default")
wait_for_rollout("mnist-default-808f52c")
wait_for_status("tfserving")
print("Initial request")
sc = SeldonClient(deployment_name="tfserving",namespace="seldon")
Expand All @@ -58,7 +58,7 @@ def test_tfserving(self):
def test_xgboost(self):
run("kubectl delete sdep --all", shell=True)
run("kubectl apply -f ../../servers/xgboostserver/samples/iris.yaml", shell=True, check=True)
wait_for_rollout("iris-default")
wait_for_rollout("iris-default-5299e79")
wait_for_status("xgboost")
print("Initial request")
sc = SeldonClient(deployment_name="xgboost",namespace="seldon")
Expand Down

0 comments on commit 133cf37

Please sign in to comment.