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

[Backend]Initial execution cache #3036

Merged
merged 54 commits into from
Mar 4, 2020
Merged

Conversation

rui5i
Copy link
Contributor

@rui5i rui5i commented Feb 10, 2020

This PR adds initial execution cache service. Including request admission and simple mutate logic which only calculates execution hash key and add this key to the pod.metadata.annotaions.
This PR also adds deployment scripts in standalone deployment. Including execution_cache_deployer job which will generate certifications and MutatingWebhookConfiguration and execution_cache deployment and service yaml.

Part of #2904


This change is Reviewable

This commit adds initial execution cache service. Including http service
and execution key generation.
@rui5i rui5i changed the title Execution cache [Backend]Initial execution cache Feb 10, 2020
@rui5i
Copy link
Contributor Author

rui5i commented Feb 10, 2020

/assign @Ark-kun @numerology

@Ark-kun
Copy link
Contributor

Ark-kun commented Feb 14, 2020

Let's add OWNERS file with @Ark-kun @rui5i so that subsequent editing is easier.

Let's add Dockerfile that will compile code and build the image.

Also let's rename validation.go to admission.go.

This commit adds Dockerfile for building source code and OWNERS file for
easy review. This commit also renames some functions.
go.sum Outdated Show resolved Hide resolved
@Ark-kun
Copy link
Contributor

Ark-kun commented Feb 15, 2020

/lgtm

This PR fixes changes on go.sum
@k8s-ci-robot k8s-ci-robot removed the lgtm label Feb 15, 2020
@IronPan
Copy link
Member

IronPan commented Mar 2, 2020

/lgtm

@rui5i
Copy link
Contributor Author

rui5i commented Mar 2, 2020

/retest

@Bobgy
Copy link
Contributor

Bobgy commented Mar 3, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Mar 3, 2020
@IronPan
Copy link
Member

IronPan commented Mar 3, 2020

/lgtm
/approve

@IronPan
Copy link
Member

IronPan commented Mar 4, 2020

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

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 ccdb885 into kubeflow:master Mar 4, 2020
Jeffwan pushed a commit to Jeffwan/pipelines that referenced this pull request Dec 9, 2020
* Initial execution cache

This commit adds initial execution cache service. Including http service
and execution key generation.

* Add initial server logic

* Add const

* Change folder name

* Change execution key name

* Fix unit test

* Add Dockerfile and OWNERS file

This commit adds Dockerfile for building source code and OWNERS file for
easy review. This commit also renames some functions.

* fix go.sum

This PR fixes changes on go.sum

* Add local deployment scripts

This commit adds local deployment scripts which can deploy cache service
to an existing cluster with KFP installed.

* refactor src code

* Add standalone deployment scripts and yamls

This commit adds execution cache deployment scripts and yaml files in
KFP standalone deployment. Including a deployer which will generate the
certification and mutatingwebhookconfiguration and execution cache
deployment.

* Minor fix

* Add execution cache image build in test folder

* fix test cloudbuild

* Fix cloudbuild

* Add execution cache deployer image to test folder

* Add copyright

* Fix deployer build

* Add license for execution cache and cloudbuild for execution cache
images

This commit adds licenses for execution cache source code. Also adds
cloud build step for building cache image and cache deployer image.
Change the manifest name based on changed image.

* Refactor license intermediate data

* Fix execution cache image manifest

* Typo fix for cache and cache deployer images

* Add arguments in ca generation scripts and change deployer base image to google/cloud

* minor fix

* fix arg

* Mirror source code with MPL in execution_cache image

* Minor fix

* minor refactor on error handling

* Refactor cache source code, Docker image and manifest

* Fix variable names

* Add images in .release.cloudbuild.yaml

* Change execution_cache to generic name

* revice readme

* Move deployer job out of upgrade script

* fix tests

* fix tests

* Seperate cache service and cache deployer job

* mysql set up

* Delete cache service in manifest, only test in presubmit tests

* fix

* fix presubmit tests

* fix

* fix

* revert unnecessary change

* fix cache image tag

* change image gcr to ml-pipeline-test

* Remove namespace in standalone manifest and add to test manifest
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.

9 participants