Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cfregly committed Aug 10, 2019
1 parent 6b43a17 commit 1d22fa4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kubeflow/infrastructure/user-data-cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ ls -al ${users_pvc_dir}
cp -R /root/pipeline/kubeflow/airflow-dags ${users_pvc_dir}
cp -R /root/pipeline/kubeflow/kubeflow-pipelines ${users_pvc_dir}
ls -al ${users_pvc_dir}
sleep 30

kubectl create -f /root/pipeline/kubeflow/infrastructure/pvc/community-pvc.yaml
sleep 30
Expand All @@ -358,6 +359,8 @@ ls -al ${community_pvc_dir}
cp -R /root/pipeline/kubeflow/notebooks ${community_pvc_dir}
ls -al ${community_pvc_dir}

sleep 30

# Create community notebook server (and New `community` PVC)
curl -d "nm=community&ns=kubeflow&imageType=standard&standardImages=pipelineai%2Fkubeflow-notebook-cpu-1.13.1%3A2.0.0&customImage=&cpu=2.0&memory=12.0Gi&ws_type=Existing&ws_name=community&ws_mount_path=%2Fhome%2Fjovyan&vol_type1=Existing&vol_name1=users-pvc&vol_mount_path1=%2Fmnt%2Fpipelineai%2Fusers&extraResources=%7B%7D" -H "Content-Type: application/x-www-form-urlencoded" -X POST http://localhost/jupyter/api/namespaces/kubeflow/notebooks

Expand All @@ -366,6 +369,8 @@ sleep 30
echo "Curling notebook server"
curl http://localhost/notebook/kubeflow/community/tree

sleep 30

# Override the auto-generated NodePorts to a fixed set of NodePorts
kubectl apply -f /root/pipeline/kubeflow/infrastructure/istio/ingressgateway-svc.yaml

Expand Down

0 comments on commit 1d22fa4

Please sign in to comment.