Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple issues with gke/deploy.sh #1481

Closed
gindeleo opened this issue Sep 5, 2018 · 1 comment
Closed

Multiple issues with gke/deploy.sh #1481

gindeleo opened this issue Sep 5, 2018 · 1 comment

Comments

@gindeleo
Copy link
Contributor

gindeleo commented Sep 5, 2018

There are multiple small issues with deploying kubeflow to GKE via [deploy.sh] on HEAD.(https://github.com/kubeflow/kubeflow/blob/master/scripts/gke/deploy.sh)

  1. KUBEFLOW_REPO must be an absoulute path to specify a preexisting local kubeflow package. Should this path be absolute as the default is set to kubeflow_repo (which then gets augmented to its abolutute path contrary to the externally set env variable? See:
    https://github.com/kubeflow/kubeflow/blob/master/scripts/gke/deploy.sh#L18

  2. If GCFS_INSTANCE is not set but the GCFS instance already exists then the wait here will terminate the script as there is no PID existing. Checking upfront if the instance exist (as mentioned in @jlewi 's comment here should fix that.
    Also, how much time is saved by creating the GCFS instance directly (and in parallel/async) as opposed to via deployment manager?

  3. Creating the local variable here: https://github.com/kubeflow/kubeflow/blob/master/scripts/gke/deploy.sh#L149
    raises an error as it's not called in a function.

@jlewi
Copy link
Contributor

jlewi commented Sep 5, 2018

deploy.sh is deprecated on master; looks like I forgot to delete it.

You should be using kfctl.sh on master
https://github.com/kubeflow/kubeflow/blob/master/scripts/kfctl.sh

Instructions
https://master.kubeflow.org/docs/started/getting-started-gke/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants