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

Please update https://www.kubeflow.org/docs/gke/private-clusters/ - no iap-ingress.yaml #1811

Closed
rduan opened this issue Mar 15, 2020 · 10 comments · Fixed by #1886
Closed

Please update https://www.kubeflow.org/docs/gke/private-clusters/ - no iap-ingress.yaml #1811

rduan opened this issue Mar 15, 2020 · 10 comments · Fixed by #1886
Labels

Comments

@rduan
Copy link

rduan commented Mar 15, 2020

I tried to deploy KF to private-cluster as the document says.

But I got errors when deploying after remove kustomizeConfig cert-manager, cert-manager-crds and cert-manager-kube-system-resources.

Besides, there is no file called iap-ingress.yaml to set privateGKECluster !!

I found this privateGKECluster from manifestes repo, in a params.env of folder /gcp/basic-auth-ingress/base/params.env
But I cannot find anywhere it is used, it seems that it is just created in configMap but not used anywhere. Please correct me if I am wrong.

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue.
See dashboard for more details.

@sarahmaddox
Copy link
Contributor

@rduan Thank you for reporting this issue. We have a P1 issue (#1705) to update the doc for private clusters and VPC service controls.

@zhenghuiwang Do you have an input on this specific question from @rduan?

I found this privateGKECluster from manifestes repo, in a params.env of folder /gcp/basic-auth-ingress/base/params.env
But I cannot find anywhere it is used, it seems that it is just created in configMap but not used anywhere. Please correct me if I am wrong.

@zhenghuiwang
Copy link
Contributor

But I got errors when deploying after remove kustomizeConfig cert-manager, cert-manager-crds and cert-manager-kube-system-resources.

Can you paste the error message? thanks

(I think the error is related to KFServing, but want to confirm it. If that's the case, you may have to remove it similarly to removing cert-manager)

I found this privateGKECluster from manifestes repo, in a params.env of folder /gcp/basic-auth-ingress/base/params.env
But I cannot find anywhere it is used, it seems that it is just created in configMap but not used anywhere. Please correct me if I am wrong.

Seems you are deploying with basic auth. I would recommend deploying kubeflow with IAP setting (step 7 in https://www.kubeflow.org/docs/gke/deploy/deploy-cli/)

/cc @kunmingg @abhi-g

@rduan
Copy link
Author

rduan commented Mar 16, 2020 via email

@joepeskett
Copy link

I had an issue with CloudEndpoint deploying correctly on privateGKE with IAP_v1.0.0 (the controller would set up but then no endpoint would be set up)- is this not the general experience? To remedy, we removed the cloud endpoint controller from KustomizeConfig, set an endpoint using gcloud endpoints services deploy openapi.yaml then used this as the host name in iap-ingess/base/params.env. Not sure if that's helpful?

@rduan
Copy link
Author

rduan commented Mar 16, 2020 via email

@jtfogarty
Copy link

/area gcp
/area docs
/kind bug
/priority p1

@k8s-ci-robot
Copy link
Contributor

@jtfogarty: The label(s) area/gcp cannot be applied, because the repository doesn't have them

In response to this:

/area gcp
/area docs
/kind bug
/priority p1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jtfogarty
Copy link

/platform gcp

@jlewi jlewi changed the title Please update https://www.kubeflow.org/docs/gke/private-clusters/ Please update https://www.kubeflow.org/docs/gke/private-clusters/ - no iap-ingress Apr 8, 2020
@jlewi jlewi changed the title Please update https://www.kubeflow.org/docs/gke/private-clusters/ - no iap-ingress Please update https://www.kubeflow.org/docs/gke/private-clusters/ - no iap-ingress.yaml Apr 8, 2020
@jlewi
Copy link
Contributor

jlewi commented Apr 8, 2020

The steps to modify the IAP ingress and the certificate should no longer be needed because we are using GKE managed certificates.

We should update the docs to remove those steps.

jlewi pushed a commit to jlewi/website that referenced this issue Apr 8, 2020
* Add instructions for mirroring docker images to private repositories
  * Fix kubeflow/kubeflow#3210

* Delete instructions under private GKE and just link to the doc issue kubeflow#1705

  * The instructions are outdated. Since managed certificates are used there
    should be no reason to need to update iap-ingress.yaml anymore.
    * Fix kubeflow#1811

  * Most of the other instructions under the private GKE section are also
    very obsolete.
k8s-ci-robot pushed a commit that referenced this issue Apr 8, 2020
* Private GKE: Document image mirroring

* Add instructions for mirroring docker images to private repositories
  * Fix kubeflow/kubeflow#3210

* Delete instructions under private GKE and just link to the doc issue #1705

  * The instructions are outdated. Since managed certificates are used there
    should be no reason to need to update iap-ingress.yaml anymore.
    * Fix #1811

  * Most of the other instructions under the private GKE section are also
    very obsolete.

* Fix indentation.

* Fix indetation.

* Fix indentation.

* Fix alert.

* More formatting fixes.

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

Successfully merging a pull request may close this issue.

7 participants