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

Scripts for replicating Docker images using GCB to support private GKE and VPC service controls. #3080

Merged
merged 2 commits into from
Apr 25, 2019

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Apr 23, 2019

  • With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

  • To support private GKE clusters we want to make it easy for users to
    mirror Kubeflow images to their own registry

  • We create a GCB workflow to retag Kubeflow images

    • Using GCB is advantageous because it avoids pulling the networks over
      the user's network.
  • Update the script to update the Kubeflow components to use the images in the
    user's registry.

  • The kubeflow cluster isn't fully accessible yet.

    looks like pipelines and some other components still have images that
    need to be ported over.

Related to #2086


This change is Reviewable

…E and VPC service controls.

* With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

* To support private GKE clusters we want to make it easy for users to
  mirror Kubeflow images to their own registry

* We create a GCB workflow to retag Kubeflow images

  * Using GCB is advantageous because it avoids pulling the networks over
    the user's network.

* Update the script to update the Kubeflow components to use the images in the
  user's registry.

* The kubeflow cluster isn't fully accessible yet.

  looks like pipelines and some other components still have images that
  need to be ported over.

Related to kubeflow#2086
@jlewi jlewi changed the title Scripts for replicating Docker images using GCB to support private GKE E and VPC service controls. Scripts for replicating Docker images using GCB to support private GKE and VPC service controls. Apr 23, 2019
@jlewi
Copy link
Contributor Author

jlewi commented Apr 23, 2019

/assign @IronPan

ks param set metacontroller image ${registry}/metacontroller:v0.3.0
fi
}

Copy link
Member

Choose a reason for hiding this comment

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

do you mind update pipeline's minio and mysql images
https://github.com/kubeflow/kubeflow/blob/master/kubeflow/pipeline/pipeline.libsonnet#L9

nfs image can be ignored since it's not being used.
Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@IronPan
Copy link
Member

IronPan commented Apr 23, 2019

/lgtm

@IronPan
Copy link
Member

IronPan commented Apr 24, 2019

/lgtm
/approve

@jlewi
Copy link
Contributor Author

jlewi commented Apr 25, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan, jlewi

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 89a41ec into kubeflow:master Apr 25, 2019
k8s-ci-robot pushed a commit that referenced this pull request Apr 29, 2019
… using GCB to #3111: Improve the scripts for mirroing images to support VPC Cherry pick of #3080 #3111 on v0.5-branch. #3080: Scripts for replicating Docker images using GCB to #3111: Improve the scripts for mirroing images to support VPC (#3124)

* Scripts for replicating Docker images using GCB to support private GKE and VPC service controls.

* With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

* To support private GKE clusters we want to make it easy for users to
  mirror Kubeflow images to their own registry

* We create a GCB workflow to retag Kubeflow images

  * Using GCB is advantageous because it avoids pulling the networks over
    the user's network.

* Update the script to update the Kubeflow components to use the images in the
  user's registry.

* The kubeflow cluster isn't fully accessible yet.

  looks like pipelines and some other components still have images that
  need to be ported over.

Related to #2086

* Update the images.

* Improve the scripts for mirroing images to support VPC service controls

* Add more images to be mirror'd when using VPC service controls

  * When using VPC service controls not all GCR repos are accessible so
    some images hosted in GCR need to be mirror'd

* Fix a bug in cloud-endpoints controller that prevents the image from being
  overwritten by parameters

   Related to #3106

Fixes to support VPC service controlls.

* ESP sample web app should get the image from ksonnet parameters so
  it can be overwritten with a version from a mirror.

* To support pipelines we need to mirror a bunch of images from
  gcr.io/ml-pipeline so they are accessible inside the service perimeter.

Related to kubeflow/pipelines#1203
Related to kubeflow/pipelines#1204

* Fix test.

* Try to fix error.
swiftdiaries pushed a commit to swiftdiaries/kubeflow that referenced this pull request May 2, 2019
…E and VPC service controls. (kubeflow#3080)

* Scripts for replicating Docker images using GCB to support private GKE and VPC service controls.

* With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

* To support private GKE clusters we want to make it easy for users to
  mirror Kubeflow images to their own registry

* We create a GCB workflow to retag Kubeflow images

  * Using GCB is advantageous because it avoids pulling the networks over
    the user's network.

* Update the script to update the Kubeflow components to use the images in the
  user's registry.

* The kubeflow cluster isn't fully accessible yet.

  looks like pipelines and some other components still have images that
  need to be ported over.

Related to kubeflow#2086

* Update the images.
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
…E and VPC service controls. (kubeflow#3080)

* Scripts for replicating Docker images using GCB to support private GKE and VPC service controls.

* With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

* To support private GKE clusters we want to make it easy for users to
  mirror Kubeflow images to their own registry

* We create a GCB workflow to retag Kubeflow images

  * Using GCB is advantageous because it avoids pulling the networks over
    the user's network.

* Update the script to update the Kubeflow components to use the images in the
  user's registry.

* The kubeflow cluster isn't fully accessible yet.

  looks like pipelines and some other components still have images that
  need to be ported over.

Related to kubeflow#2086

* Update the images.
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 12, 2021
…E and VPC service controls. (kubeflow#3080)

* Scripts for replicating Docker images using GCB to support private GKE and VPC service controls.

* With private GKE we can't pull docker images from non-GCR registries (e.g. quoay)

* To support private GKE clusters we want to make it easy for users to
  mirror Kubeflow images to their own registry

* We create a GCB workflow to retag Kubeflow images

  * Using GCB is advantageous because it avoids pulling the networks over
    the user's network.

* Update the script to update the Kubeflow components to use the images in the
  user's registry.

* The kubeflow cluster isn't fully accessible yet.

  looks like pipelines and some other components still have images that
  need to be ported over.

Related to kubeflow#2086

* Update the images.
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.

4 participants