Skip to content

Commit

Permalink
Kubernetes nightly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agunapal committed Mar 12, 2024
1 parent d633e19 commit b0dc3de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/kubernetes_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
echo "/usr/local/bin" >> $GITHUB_PATH
minikube addons enable metrics-server
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/tests/scripts/test_mnist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ fi
}

# Setup
#start_minikube_cluster
#build_docker_image
#get_model_archive "https://torchserve.pytorch.org/mar_files/mnist_v2.mar" "mnist"
start_minikube_cluster
build_docker_image
get_model_archive "https://torchserve.pytorch.org/mar_files/mnist_v2.mar" "mnist"
deploy_cluster "./kubernetes/tests/configs/deployment.yaml" "ts-def"

echo "CPU usage test"
Expand All @@ -142,4 +142,4 @@ make_cluster_accessible "kubernetes/examples/mnist/service.yaml" 5
make_prediction "mnist" "examples/image_classifier/mnist/test_data/0.png" "0"

# Clean up
#delete_minikube_cluster
delete_minikube_cluster

0 comments on commit b0dc3de

Please sign in to comment.