Fix relative paths for kubeflow instructions (#54)

* Fix relative paths for kubeflow instructions

* change KFAPP back to app name
This commit is contained in:
Yan Reznikov 2019-03-12 08:49:25 -07:00 коммит произвёл Rita Zhang
Родитель 7b23979133
Коммит 39657fb130
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -34,7 +34,7 @@ First, install ksonnet version [0.13.1](https://ksonnet.io/#get-started), or you
Then run the following commands to download Kubeflow: Then run the following commands to download Kubeflow:
```bash ```bash
KUBEFLOW_SRC=kubeflow KUBEFLOW_SRC=$(realpath kubeflow)
mkdir ${KUBEFLOW_SRC} mkdir ${KUBEFLOW_SRC}
cd ${KUBEFLOW_SRC} cd ${KUBEFLOW_SRC}
@ -51,14 +51,14 @@ curl https://raw.githubusercontent.com/kubeflow/kubeflow/${KUBEFLOW_TAG}/scripts
```bash ```bash
# Initialize a kubeflow app # Initialize a kubeflow app
KFAPP=mykubeflowapp KFAPP=mykubeflowapp
${KUBEFLOW_SOURCE}/scripts/kfctl.sh init ${KFAPP} --platform none ${KUBEFLOW_SRC}/scripts/kfctl.sh init ${KFAPP} --platform none
# Generate kubeflow app # Generate kubeflow app
cd ${KFAPP} cd ${KFAPP}
${KUBEFLOW_SOURCE}/scripts/kfctl.sh generate k8s ${KUBEFLOW_SRC}/scripts/kfctl.sh generate k8s
# Deploy Kubeflow app # Deploy Kubeflow app
${KUBEFLOW_SOURCE}/scripts/kfctl.sh apply k8s ${KUBEFLOW_SRC}/scripts/kfctl.sh apply k8s
``` ```
### Validation ### Validation