使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

使用私有注册表更新 Anthos Config Management

每个版本的 Anthos Config Management 都需要运行一组特定的版本映像。如果您使用的是私有注册表,则需要拉取、标记这些映像并将其推送到该私有注册表后,您才可以安装 Anthos Config Management 组件升级 Anthos Config Management 版本

将映像添加到私有存储库

如需将特定于版本的 Anthos Config Management 映像推送到私有注册表,请点击您要使用的版本的加号图标,并完成列出的步骤。

1.14.1

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20230113233351-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.14.1-c61db24.g1
    docker pull gcr.io/config-management-release/git-sync:v3.6.2-gke.1__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/monorepo:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/oci-sync:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.14.1-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.9
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20230113233351-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20230113233351-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.14.1-c61db24.g1 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.14.1-c61db24.g1
    docker tag gcr.io/config-management-release/git-sync:v3.6.2-gke.1__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.2-gke.1__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/monorepo:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/monorepo:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/oci-sync:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.14.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.14.1-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.9 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20230113233351-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.14.1-c61db24.g1
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.2-gke.1__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.14.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.14.0

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20221130220308-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.14.0-65f8245.g0
    docker pull gcr.io/config-management-release/git-sync:v3.6.1-gke.2__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/nomos:v1.14.0-rc.2
    docker pull gcr.io/config-management-release/oci-sync:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.14.0-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.9
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20221130220308-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20221130220308-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.14.0-65f8245.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.14.0-65f8245.g0
    docker tag gcr.io/config-management-release/git-sync:v3.6.1-gke.2__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.2__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/nomos:v1.14.0-rc.2 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.14.0-rc.2
    docker tag gcr.io/config-management-release/oci-sync:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.14.0-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.14.0-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.9 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20221130220308-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.14.0-65f8245.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.2__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.14.0-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.14.0-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.13.1

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20221007213051-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.13.1-600a68d.g1
    docker pull gcr.io/config-management-release/git-sync:v3.6.1-gke.1__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/nomos:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/oci-sync:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/reconciler:v1.13.1-rc.4
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.8
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20221007213051-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20221007213051-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.13.1-600a68d.g1 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.13.1-600a68d.g1
    docker tag gcr.io/config-management-release/git-sync:v3.6.1-gke.1__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.1__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/nomos:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/oci-sync:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/reconciler:v1.13.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.13.1-rc.4
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.8 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.8
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20221007213051-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.13.1-600a68d.g1
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.1__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.13.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.8
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.13.0

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220831042821-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.13.0-368961a.g0
    docker pull gcr.io/config-management-release/git-sync:v3.6.1-gke.0__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/nomos:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/oci-sync:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/reconciler:v1.13.0-rc.7
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.8
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220831042821-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220831042821-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.13.0-368961a.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.13.0-368961a.g0
    docker tag gcr.io/config-management-release/git-sync:v3.6.1-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.0__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/nomos:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/oci-sync:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/reconciler:v1.13.0-rc.7 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.13.0-rc.7
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.8 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.8
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220831042821-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.13.0-368961a.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.1-gke.0__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.13.0-rc.7
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.8
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.12.2

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220802182902-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.12.2-8f1ef8c.g0
    docker pull gcr.io/config-management-release/git-sync:v3.6.0-gke.0__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/oci-sync:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/reconciler:v1.12.2-rc.2
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.7
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220802182902-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220802182902-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.12.2-8f1ef8c.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.2-8f1ef8c.g0
    docker tag gcr.io/config-management-release/git-sync:v3.6.0-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.0-gke.0__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/kube-rbac-proxy:v0.5.0 \
     ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker tag gcr.io/config-management-release/nomos:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/oci-sync:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/reconciler:v1.12.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.2-rc.2
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.7 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.7
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220802182902-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.2-8f1ef8c.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.0-gke.0__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.7
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.12.1

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220707000119-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.12.1-c370036.g0
    docker pull gcr.io/config-management-release/git-sync:v3.5.1-gke.0__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/oci-sync:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.12.1-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.5
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220707000119-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220707000119-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.12.1-c370036.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.1-c370036.g0
    docker tag gcr.io/config-management-release/git-sync:v3.5.1-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.1-gke.0__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/kube-rbac-proxy:v0.5.0 \
     ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker tag gcr.io/config-management-release/nomos:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/oci-sync:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/otelcontribcol:v0.38.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.12.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.1-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.5 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.5
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220707000119-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.1-c370036.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.1-gke.0__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.5
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.12.0

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220617195442-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.12.0-206bbe9.g0
    docker pull gcr.io/config-management-release/git-sync:v3.5.0-gke.1__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/oci-sync:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/reconciler:v1.12.0-rc.5
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.5
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220617195442-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220617195442-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.12.0-206bbe9.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.0-206bbe9.g0
    docker tag gcr.io/config-management-release/git-sync:v3.5.0-gke.1__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.0-gke.1__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/kube-rbac-proxy:v0.5.0 \
     ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker tag gcr.io/config-management-release/nomos:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/oci-sync:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/otelcontribcol:v0.38.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/reconciler:v1.12.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.0-rc.5
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.5 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.5
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220617195442-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.12.0-206bbe9.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.0-gke.1__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.12.0-rc.5
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.5
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。