forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Manifest] Cache - Fix upgrade manifest (kubeflow#3338)
* Initial execution cache This commit adds initial execution cache service. Including http service and execution key generation. * fix master * Change cache deployer job to stateful set * Delete cache deployer job * Delete cache deployer job after it completes * minor fix * fix indention * Change cache deployer job to statefulset * Remove extra cluster role for cache deployer * remove cache in base kustomize file for upgrade test * minor fix
- Loading branch information
Showing
5 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
manifests/kustomize/base/cache-deployer/cache-deployer-job.yaml
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
manifests/kustomize/base/cache-deployer/cache-deployer-statefulset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: cache-deployer-statefulset | ||
labels: | ||
app: cache-deployer | ||
spec: | ||
replicas: 1 | ||
serviceName: cache-deployer | ||
selector: | ||
matchLabels: | ||
app: cache-deployer | ||
template: | ||
metadata: | ||
labels: | ||
app: cache-deployer | ||
spec: | ||
containers: | ||
- name: main | ||
image: gcr.io/ml-pipeline/cache-deployer:latest | ||
imagePullPolicy: Always | ||
env: | ||
- name: NAMESPACE_TO_WATCH | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
serviceAccountName: kubeflow-pipelines-cache-deployer-sa | ||
restartPolicy: Always | ||
volumeClaimTemplates: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters