Skip to content

Commit

Permalink
Merge pull request #788 from ryandawsonuk/783-imagenameforprepack
Browse files Browse the repository at this point in the history
having image means hashed deployment name
  • Loading branch information
ryandawsonuk authored Aug 12, 2019
2 parents 4726648 + 10d7376 commit 3fc7904
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions notebooks/server_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -723,19 +723,20 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"deployment \"wines-default-057e362\" successfully rolled out\r\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
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 3fc7904

Please sign in to comment.