Skip to content

Instantly share code, notes, and snippets.

@carmark
Created November 9, 2018 08:47
Show Gist options
  • Save carmark/4ce44badb204c29973ddc6a682ae418b to your computer and use it in GitHub Desktop.
Save carmark/4ce44badb204c29973ddc6a682ae418b to your computer and use it in GitHub Desktop.
diff --git a/ml-pipeline/deploy.sh b/ml-pipeline/deploy.sh
index c6310d0..c3fcc3f 100755
--- a/ml-pipeline/deploy.sh
+++ b/ml-pipeline/deploy.sh
@@ -21,10 +21,10 @@ NAMESPACE=kubeflow
APP_DIR=ml-pipeline-app
# Kubeflow directory
-KF_DIR=/kf-app
+KF_DIR=/tmp/kf-app
# Kubeflow Ksonnet app name
-KFAPP=/kubeflow-ks-app
+KFAPP=/tmp/kubeflow-ks-app
# Version number of this release.
RELEASE_VERSION="${RELEASE_VERSION:-0.0.20}"
@@ -107,7 +107,7 @@ while [ "$1" != "" ]; do
done
echo "Configure ksonnet ..."
-/ml-pipeline/bootstrapper.sh
+./ml-pipeline/bootstrapper.sh
echo "Configure ksonnet completed successfully"
echo "Initialize a ksonnet APP ..."
diff --git a/ml-pipeline/ml-pipeline/pipeline-ui.libsonnet b/ml-pipeline/ml-pipeline/pipeline-ui.libsonnet
index 101191b..f782f99 100644
--- a/ml-pipeline/ml-pipeline/pipeline-ui.libsonnet
+++ b/ml-pipeline/ml-pipeline/pipeline-ui.libsonnet
@@ -51,6 +51,7 @@
selector: {
app: "ml-pipeline-ui",
},
+ type: "NodePort",
},
status: {
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment