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

support IAP setup for bootstrap on GKE #744

Merged
merged 2 commits into from May 5, 2018
Merged

Conversation

kunmingg
Copy link
Contributor

@kunmingg kunmingg commented Apr 30, 2018

So user can manage secure login to Kubeflow with GCP account.

This will handle #665


This change is Reviewable

@kunmingg
Copy link
Contributor Author

kunmingg commented May 1, 2018

/assign @ankushagarwal

@ankushagarwal
Copy link
Contributor

Can you add a reference to the issue in the PR description

# (Optional) enable usage reporting
**Inside container, choose one way to generate kubeflow apps**:
1. On GKE, with Google Sign-in enabled for kubeflow (share access with your team easily):
[Finish Preliminaries](https://github.com/kubeflow/kubeflow/tree/master/bootstrap#iap-preliminaries)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make link relative instead of absolute?

@@ -21,47 +21,57 @@ and based on the results chooses good values for various Kubeflow parameters.

**Alpha stage(as of today) Requires** run ```make build``` to build docker image locally since there's no public release yet.

Interactive use
**Enter interactive-use container**:

```
TAG=latest
APP_DIR_HOST=<Directory on host machine for the ksonnet apps>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APP_DIR_HOST=$HOME/ksonnetApps # Directory on host machine for the ksonnet apps
It will be good to provide a default location so that user can just copy-paste

@@ -157,6 +167,26 @@ Potential solutions
- e.g. if a pod depends on a volume or ConfigMap that pod won't be scheduled
until the config map exists

## IAP Preliminaries:
1. [Create external static IP address named kubeflow](https://github.com/kubeflow/kubeflow/blob/master/docs/gke/iap.md#create-an-external-static-ip-address)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be created automatically by the bootstrapper?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment manager should create it. This is next step.

@@ -42,4 +45,7 @@ func (s *ServerOption) AddFlags(fs *flag.FlagSet) {
fs.StringVar(&s.KfVersion, "kubeflow-version", "v0.1.0-rc.4", "The Kubeflow version to use.")
fs.StringVar(&s.NameSpace, "namespace", "kubeflow", "The namespace where all resources for kubeflow will be created")
fs.BoolVar(&s.Apply, "apply", true, "Whether or not to apply the configuraiton.")
fs.StringVar(&s.Project, "project", "", "The GCP project where kubeflow will seat")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit : The GCP project where kubeflow will be installed

Copy link
Contributor

@ankushagarwal ankushagarwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some general comments

@kunmingg
Copy link
Contributor Author

kunmingg commented May 4, 2018

/retest

@kunmingg
Copy link
Contributor Author

kunmingg commented May 4, 2018

/assign @lluunn

@ankushagarwal
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ankushagarwal

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit ccebb3b into kubeflow:master May 5, 2018
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
* support IAP setup for bootstrap on GKE

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

Successfully merging this pull request may close these issues.

None yet

4 participants