Skip to content

Commit

Permalink
Update kfp test infra to using kfp 2.0.1 (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
chensun committed Aug 22, 2023
1 parent 9f52957 commit bba9b24
Show file tree
Hide file tree
Showing 13 changed files with 72 additions and 29 deletions.
44 changes: 31 additions & 13 deletions acm-repos/kfp-standalone-1/kfp-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,13 @@ rules:
- get
- list
- watch
- apiGroups:
- pipelines.kubeflow.org
resources:
- scheduledworkflows
- workflows
verbs:
- report
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -2399,7 +2406,7 @@ data:
DEFAULT_CACHE_STALENESS: ""
MAXIMUM_CACHE_STALENESS: ""
appName: kfp-standalone-1
appVersion: 2.0.0
appVersion: 2.0.1
autoUpdatePipelineDefaultVersion: "true"
bucketName: mlpipeline
cacheDb: cachedb
Expand Down Expand Up @@ -2785,7 +2792,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/ml-pipeline/cache-deployer:2.0.0
image: gcr.io/ml-pipeline/cache-deployer:2.0.1
imagePullPolicy: Always
name: main
restartPolicy: Always
Expand Down Expand Up @@ -2877,7 +2884,7 @@ spec:
fieldPath: metadata.namespace
- name: WEBHOOK_PORT
value: "8443"
image: gcr.io/ml-pipeline/cache-server:2.0.0
image: gcr.io/ml-pipeline/cache-server:2.0.1
imagePullPolicy: Always
name: server
ports:
Expand Down Expand Up @@ -2966,7 +2973,7 @@ spec:
component: metadata-envoy
spec:
containers:
- image: gcr.io/ml-pipeline/metadata-envoy:2.0.0
- image: gcr.io/ml-pipeline/metadata-envoy:2.0.1
name: container
ports:
- containerPort: 9090
Expand Down Expand Up @@ -3083,7 +3090,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/ml-pipeline/metadata-writer:2.0.0
image: gcr.io/ml-pipeline/metadata-writer:2.0.1
name: main
resources:
limits:
Expand Down Expand Up @@ -3226,7 +3233,7 @@ spec:
secretKeyRef:
key: secretkey
name: mlpipeline-minio-artifact
image: gcr.io/ml-pipeline/api-server:2.0.0
image: gcr.io/ml-pipeline/api-server:2.0.1
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down Expand Up @@ -3313,14 +3320,25 @@ spec:
value: kubeflow-userid
- name: KUBEFLOW_USERID_PREFIX
value: ""
image: gcr.io/ml-pipeline/persistenceagent:2.0.0
image: gcr.io/ml-pipeline/persistenceagent:2.0.1
imagePullPolicy: IfNotPresent
name: ml-pipeline-persistenceagent
resources:
requests:
cpu: 120m
memory: 500Mi
volumeMounts:
- mountPath: /var/run/secrets/kubeflow/tokens
name: persistenceagent-sa-token
serviceAccountName: ml-pipeline-persistenceagent
volumes:
- name: persistenceagent-sa-token
projected:
sources:
- serviceAccountToken:
audience: pipelines.kubeflow.org
expirationSeconds: 3600
path: persistenceagent-sa-token
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -3356,7 +3374,7 @@ spec:
configMapKeyRef:
key: cronScheduleTimezone
name: pipeline-install-config
image: gcr.io/ml-pipeline/scheduledworkflow:2.0.0
image: gcr.io/ml-pipeline/scheduledworkflow:2.0.1
imagePullPolicy: IfNotPresent
name: ml-pipeline-scheduledworkflow
serviceAccountName: ml-pipeline-scheduledworkflow
Expand Down Expand Up @@ -3404,7 +3422,7 @@ spec:
name: mlpipeline-minio-artifact
- name: ALLOW_CUSTOM_VISUALIZATIONS
value: "true"
image: gcr.io/ml-pipeline/frontend:2.0.0
image: gcr.io/ml-pipeline/frontend:2.0.1
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down Expand Up @@ -3478,7 +3496,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/ml-pipeline/viewer-crd-controller:2.0.0
image: gcr.io/ml-pipeline/viewer-crd-controller:2.0.1
imagePullPolicy: Always
name: ml-pipeline-viewer-crd
serviceAccountName: ml-pipeline-viewer-crd-service-account
Expand Down Expand Up @@ -3507,7 +3525,7 @@ spec:
application-crd-id: kubeflow-pipelines
spec:
containers:
- image: gcr.io/ml-pipeline/visualization-server:2.0.0
- image: gcr.io/ml-pipeline/visualization-server:2.0.1
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down Expand Up @@ -3620,7 +3638,7 @@ spec:
- env:
- name: PROXY_URL
value: https://datalab-staging.cloud.google.com/tun/m/4592f092208ecc84946b8f8f8016274df1b36a14
image: gcr.io/ml-pipeline/inverse-proxy-agent:2.0.0
image: gcr.io/ml-pipeline/inverse-proxy-agent:2.0.1
imagePullPolicy: IfNotPresent
name: proxy-agent
hostNetwork: true
Expand Down Expand Up @@ -3737,7 +3755,7 @@ spec:
url: https://github.com/kubeflow/pipelines
notes: Please go to [Hosted Kubeflow Pipelines Console](https://console.cloud.google.com/ai-platform/pipelines/clusters).
type: Kubeflow Pipelines
version: 2.0.0
version: 2.0.1
info:
- name: Console
value: https://console.cloud.google.com/ai-platform/pipelines/clusters
Expand Down
2 changes: 1 addition & 1 deletion test-infra/kfp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ KFP_STANDALONE_1_DIR=$(ACM_REPOS)/kfp-standalone-1

# Please edit the following version before running:
# make kfp-update
PIPELINES_VERSION?=2.0.0
PIPELINES_VERSION?=2.0.1
PIPELINES_SRC_REPO=https://github.com/kubeflow/pipelines.git

all: hydrate hydrate-kfp-manifests vet-kfp-manifests
Expand Down
6 changes: 3 additions & 3 deletions test-infra/kfp/kfp-standalone-1/kustomize/upstream/Kptfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ upstream:
git:
repo: https://github.com/kubeflow/pipelines
directory: /manifests/kustomize
ref: 2.0.0
ref: 2.0.1
updateStrategy: resource-merge
upstreamLock:
type: git
git:
repo: https://github.com/kubeflow/pipelines
directory: /manifests/kustomize
ref: 2.0.0
commit: 1500188da71c388da568e9e98f27f549d9dce955
ref: 2.0.1
commit: d740231ab0a37accc4a9343e6f5a31218f1ed984
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ commonLabels:
app: cache-deployer
images:
- name: gcr.io/ml-pipeline/cache-deployer
newTag: 2.0.0
newTag: 2.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ commonLabels:
app: cache-server
images:
- name: gcr.io/ml-pipeline/cache-server
newTag: 2.0.0
newTag: 2.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data:
until the changes take effect. A quick way to restart all deployments in a
namespace: `kubectl rollout restart deployment -n <your-namespace>`.
appName: pipeline
appVersion: 2.0.0
appVersion: 2.0.1
dbHost: mysql
dbPort: "3306"
mlmdDb: metadb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ rules:
- get
- list
- watch
- apiGroups:
- pipelines.kubeflow.org
resources:
- scheduledworkflows
- workflows
verbs:
- report
- apiGroups:
- ''
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ resources:
- metadata-grpc-sa.yaml
images:
- name: gcr.io/ml-pipeline/metadata-envoy
newTag: 2.0.0
newTag: 2.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ resources:
- kfp-launcher-configmap.yaml
images:
- name: gcr.io/ml-pipeline/api-server
newTag: 2.0.0
newTag: 2.0.1
- name: gcr.io/ml-pipeline/persistenceagent
newTag: 2.0.0
newTag: 2.0.1
- name: gcr.io/ml-pipeline/scheduledworkflow
newTag: 2.0.0
newTag: 2.0.1
- name: gcr.io/ml-pipeline/frontend
newTag: 2.0.0
newTag: 2.0.1
- name: gcr.io/ml-pipeline/viewer-crd-controller
newTag: 2.0.0
newTag: 2.0.1
- name: gcr.io/ml-pipeline/visualization-server
newTag: 2.0.0
newTag: 2.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ resources:
- metadata-writer-sa.yaml
images:
- name: gcr.io/ml-pipeline/metadata-writer
newTag: 2.0.0
newTag: 2.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,15 @@ spec:
requests:
cpu: 120m
memory: 500Mi
volumeMounts:
- mountPath: /var/run/secrets/kubeflow/tokens
name: persistenceagent-sa-token
serviceAccountName: ml-pipeline-persistenceagent
volumes:
- name: persistenceagent-sa-token
projected:
sources:
- serviceAccountToken:
path: persistenceagent-sa-token
expirationSeconds: 3600
audience: pipelines.kubeflow.org
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ rules:
- get
- list
- watch
- apiGroups:
- pipelines.kubeflow.org
resources:
- scheduledworkflows
- workflows
verbs:
- report
- apiGroups:
- ''
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: gcr.io/ml-pipeline/inverse-proxy-agent
newTag: 2.0.0
newTag: 2.0.1
resources:
- proxy-configmap.yaml
- proxy-deployment.yaml
Expand Down

0 comments on commit bba9b24

Please sign in to comment.