Skip to content

Commit f26c1ae

Browse files
authored
chore: switch to using gh container registry in manifests (#11526) (#11527)
This change switches majority of the images coming from gcr repository to the ghcr repository. For this various manifests were updated, as well as the hardcoded launcher/driver images. All images that are regularly updated during the release process have been switched over to ghcr. Signed-off-by: Humair Khan <[email protected]>
1 parent 2e47604 commit f26c1ae

20 files changed

+41
-41
lines changed

Diff for: backend/src/v2/compiler/argocompiler/container.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import (
3030
const (
3131
volumeNameKFPLauncher = "kfp-launcher"
3232
volumeNameCABundle = "ca-bundle"
33-
DefaultLauncherImage = "gcr.io/ml-pipeline/kfp-launcher@sha256:bef55a344574a25c557256d7c66cb19edacfd2008d694e5b6bb5b612d59feae0"
33+
DefaultLauncherImage = "ghcr.io/kubeflow/kfp-launcher:2.4.0"
3434
LauncherImageEnvVar = "V2_LAUNCHER_IMAGE"
35-
DefaultDriverImage = "gcr.io/ml-pipeline/kfp-driver@sha256:dc8b56a2eb071f30409828a8884d621092e68385af11a6c06aa9e9fbcfbb19de"
35+
DefaultDriverImage = "ghcr.io/kubeflow/kfp-driver:2.4.0"
3636
DriverImageEnvVar = "V2_DRIVER_IMAGE"
3737
DefaultDriverCommand = "driver"
3838
DriverCommandEnvVar = "V2_DRIVER_COMMAND"

Diff for: manifests/kustomize/base/cache-deployer/cache-deployer-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: main
21-
image: gcr.io/ml-pipeline/cache-deployer:dummy
21+
image: ghcr.io/kubeflow/kfp-cache-deployer:dummy
2222
imagePullPolicy: Always
2323
env:
2424
- name: NAMESPACE_TO_WATCH

Diff for: manifests/kustomize/base/cache-deployer/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ resources:
77
commonLabels:
88
app: cache-deployer
99
images:
10-
- name: gcr.io/ml-pipeline/cache-deployer
11-
newTag: 2.3.0
10+
- name: ghcr.io/kubeflow/kfp-cache-deployer
11+
newTag: 2.4.0

Diff for: manifests/kustomize/base/cache/cache-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
capabilities:
2727
drop:
2828
- ALL
29-
image: gcr.io/ml-pipeline/cache-server:dummy
29+
image: ghcr.io/kubeflow/kfp-cache-server:dummy
3030
env:
3131
- name: DEFAULT_CACHE_STALENESS
3232
valueFrom:

Diff for: manifests/kustomize/base/cache/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ resources:
99
commonLabels:
1010
app: cache-server
1111
images:
12-
- name: gcr.io/ml-pipeline/cache-server
13-
newTag: 2.3.0
12+
- name: ghcr.io/kubeflow/kfp-cache-server
13+
newTag: 2.4.0

Diff for: manifests/kustomize/base/installs/multi-user/pipelines-profile-controller/sync.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def get_settings_from_env(controller_port=None,
3636
Settings are pulled from the all-caps version of the setting name. The
3737
following defaults are used if those environment variables are not set
3838
to enable backwards compatibility with previous versions of this script:
39-
visualization_server_image: gcr.io/ml-pipeline/visualization-server
39+
visualization_server_image: ghcr.io/kubeflow/kfp-visualization-server
4040
visualization_server_tag: value of KFP_VERSION environment variable
41-
frontend_image: gcr.io/ml-pipeline/frontend
41+
frontend_image: ghcr.io/kubeflow/kfp-frontend
4242
frontend_tag: value of KFP_VERSION environment variable
4343
disable_istio_sidecar: Required (no default)
4444
minio_access_key: Required (no default)
@@ -51,11 +51,11 @@ def get_settings_from_env(controller_port=None,
5151

5252
settings["visualization_server_image"] = \
5353
visualization_server_image or \
54-
os.environ.get("VISUALIZATION_SERVER_IMAGE", "gcr.io/ml-pipeline/visualization-server")
54+
os.environ.get("VISUALIZATION_SERVER_IMAGE", "ghcr.io/kubeflow/kfp-visualization-server")
5555

5656
settings["frontend_image"] = \
5757
frontend_image or \
58-
os.environ.get("FRONTEND_IMAGE", "gcr.io/ml-pipeline/frontend")
58+
os.environ.get("FRONTEND_IMAGE", "ghcr.io/kubeflow/kfp-frontend")
5959

6060
# Look for specific tags for each image first, falling back to
6161
# previously used KFP_VERSION environment variable for backwards

Diff for: manifests/kustomize/base/installs/multi-user/pipelines-profile-controller/test_sync.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
DATA_MISSING_PIPELINE_ENABLED = {"parent": {}, "children": {}}
5050

5151
# Default values when environments are not explicit
52-
DEFAULT_FRONTEND_IMAGE = "gcr.io/ml-pipeline/frontend"
53-
DEFAULT_VISUALIZATION_IMAGE = "gcr.io/ml-pipeline/visualization-server"
52+
DEFAULT_FRONTEND_IMAGE = "ghcr.io/kubeflow/kfp-frontend"
53+
DEFAULT_VISUALIZATION_IMAGE = "ghcr.io/kubeflow/kfp-visualization-server"
5454

5555
# Variables used for environment variable sets
5656
VISUALIZATION_SERVER_IMAGE = "vis-image"

Diff for: manifests/kustomize/base/metadata/base/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ resources:
99
- metadata-envoy-service.yaml
1010
- metadata-grpc-sa.yaml
1111
images:
12-
- name: gcr.io/ml-pipeline/metadata-envoy
13-
newTag: 2.3.0
12+
- name: ghcr.io/kubeflow/kfp-metadata-envoy
13+
newTag: 2.4.0

Diff for: manifests/kustomize/base/metadata/base/metadata-envoy-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: container
21-
image: gcr.io/ml-pipeline/metadata-envoy:dummy
21+
image: ghcr.io/kubeflow/kfp-metadata-envoy:dummy
2222
ports:
2323
- name: md-envoy
2424
containerPort: 9090

Diff for: manifests/kustomize/base/pipeline/kustomization.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ resources:
3535
- viewer-sa.yaml
3636
- kfp-launcher-configmap.yaml
3737
images:
38-
- name: gcr.io/ml-pipeline/api-server
39-
newTag: 2.3.0
40-
- name: gcr.io/ml-pipeline/persistenceagent
41-
newTag: 2.3.0
42-
- name: gcr.io/ml-pipeline/scheduledworkflow
43-
newTag: 2.3.0
44-
- name: gcr.io/ml-pipeline/frontend
45-
newTag: 2.3.0
46-
- name: gcr.io/ml-pipeline/viewer-crd-controller
47-
newTag: 2.3.0
48-
- name: gcr.io/ml-pipeline/visualization-server
49-
newTag: 2.3.0
38+
- name: ghcr.io/kubeflow/kfp-api-server
39+
newTag: 2.4.0
40+
- name: ghcr.io/kubeflow/kfp-persistence-agent
41+
newTag: 2.4.0
42+
- name: ghcr.io/kubeflow/kfp-scheduled-workflow-controller
43+
newTag: 2.4.0
44+
- name: ghcr.io/kubeflow/kfp-frontend
45+
newTag: 2.4.0
46+
- name: ghcr.io/kubeflow/kfp-viewer-crd-controller
47+
newTag: 2.4.0
48+
- name: ghcr.io/kubeflow/kfp-visualization-server
49+
newTag: 2.4.0

Diff for: manifests/kustomize/base/pipeline/metadata-writer/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ resources:
66
- metadata-writer-rolebinding.yaml
77
- metadata-writer-sa.yaml
88
images:
9-
- name: gcr.io/ml-pipeline/metadata-writer
10-
newTag: 2.3.0
9+
- name: ghcr.io/kubeflow/kfp-metadata-writer
10+
newTag: 2.4.0

Diff for: manifests/kustomize/base/pipeline/metadata-writer/metadata-writer-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: main
19-
image: gcr.io/ml-pipeline/metadata-writer:dummy
19+
image: ghcr.io/kubeflow/kfp-metadata-writer:dummy
2020
env:
2121
- name: NAMESPACE_TO_WATCH
2222
valueFrom:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-apiserver-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
secretKeyRef:
110110
name: mlpipeline-minio-artifact
111111
key: secretkey
112-
image: gcr.io/ml-pipeline/api-server:dummy
112+
image: ghcr.io/kubeflow/kfp-api-server:dummy
113113
imagePullPolicy: IfNotPresent
114114
name: ml-pipeline-api-server
115115
ports:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-persistenceagent-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
value: "2"
2828
- name: LOG_LEVEL
2929
value: "info"
30-
image: gcr.io/ml-pipeline/persistenceagent:dummy
30+
image: ghcr.io/kubeflow/kfp-persistence-agent:dummy
3131
imagePullPolicy: IfNotPresent
3232
name: ml-pipeline-persistenceagent
3333
resources:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-scheduledworkflow-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
1717
spec:
1818
containers:
19-
- image: gcr.io/ml-pipeline/scheduledworkflow:dummy
19+
- image: ghcr.io/kubeflow/kfp-scheduled-workflow-controller:dummy
2020
imagePullPolicy: IfNotPresent
2121
name: ml-pipeline-scheduledworkflow
2222
env:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-ui-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
configMap:
2121
name: ml-pipeline-ui-configmap
2222
containers:
23-
- image: gcr.io/ml-pipeline/frontend:dummy
23+
- image: ghcr.io/kubeflow/kfp-frontend:dummy
2424
imagePullPolicy: IfNotPresent
2525
name: ml-pipeline-ui
2626
ports:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-viewer-crd-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
1717
spec:
1818
containers:
19-
- image: gcr.io/ml-pipeline/viewer-crd-controller:dummy
19+
- image: ghcr.io/kubeflow/kfp-viewer-crd-controller:dummy
2020
imagePullPolicy: Always
2121
name: ml-pipeline-viewer-crd
2222
env:

Diff for: manifests/kustomize/base/pipeline/ml-pipeline-visualization-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
1717
spec:
1818
containers:
19-
- image: gcr.io/ml-pipeline/visualization-server:dummy
19+
- image: ghcr.io/kubeflow/kfp-visualization-server:dummy
2020
imagePullPolicy: IfNotPresent
2121
name: ml-pipeline-visualizationserver
2222
ports:

Diff for: manifests/kustomize/env/gcp/inverse-proxy/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
images:
4-
- name: gcr.io/ml-pipeline/inverse-proxy-agent
5-
newTag: 2.3.0
4+
- name: ghcr.io/kubeflow/kfp-inverse-proxy-agent
5+
newTag: 2.4.0
66
resources:
77
- proxy-configmap.yaml
88
- proxy-deployment.yaml

Diff for: manifests/kustomize/env/gcp/inverse-proxy/proxy-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
hostNetwork: true
1717
containers:
18-
- image: gcr.io/ml-pipeline/inverse-proxy-agent:dummy
18+
- image: ghcr.io/kubeflow/kfp-inverse-proxy-agent:dummy
1919
imagePullPolicy: IfNotPresent
2020
name: proxy-agent
2121
serviceAccountName: proxy-agent-runner

0 commit comments

Comments
 (0)