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

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

将映像添加到私有注册表

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

1.11.2

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220504183007-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.11.2-rc.1
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0
    docker pull gcr.io/config-management-release/git-sync:v3.5.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.11.2-rc.1
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.11.2-rc.1
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.11.2-rc.1
    docker pull gcr.io/config-management-release/reconciler:v1.11.2-rc.1
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.4
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220504183007-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220504183007-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.11.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.2-rc.1
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker tag gcr.io/config-management-release/git-sync:v3.5.0-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.11.2-rc.1
    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.11.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.11.2-rc.1
    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.11.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.2-rc.1
    docker tag gcr.io/config-management-release/reconciler:v1.11.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.2-rc.1
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.4 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.4
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220504183007-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.11.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.4
    

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

1.11.1

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220331193036-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.11.1-rc.1
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0
    docker pull gcr.io/config-management-release/git-sync:v3.5.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.11.1-rc.1
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.11.1-rc.1
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.11.1-rc.1
    docker pull gcr.io/config-management-release/reconciler:v1.11.1-rc.1
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.4
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220331193036-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220331193036-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.11.1-rc.1 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.1-rc.1
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker tag gcr.io/config-management-release/git-sync:v3.5.0-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.1-rc.1 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.11.1-rc.1
    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.11.1-rc.1 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.11.1-rc.1
    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.11.1-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.1-rc.1
    docker tag gcr.io/config-management-release/reconciler:v1.11.1-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.1-rc.1
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.4 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.4
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220331193036-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.1-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.1-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.11.1-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.1-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.1-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.4
    

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

1.11.0

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220314190852-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.11.0-rc.4
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0
    docker pull gcr.io/config-management-release/git-sync:v3.5.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.11.0-rc.4
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.11.0-rc.4
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.11.0-rc.4
    docker pull gcr.io/config-management-release/reconciler:v1.11.0-rc.4
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.3
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220314190852-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220314190852-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.11.0-rc.4 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.0-rc.4
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker tag gcr.io/config-management-release/git-sync:v3.5.0-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.0-rc.4 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.11.0-rc.4
    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.11.0-rc.4 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.11.0-rc.4
    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.11.0-rc.4 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.0-rc.4
    docker tag gcr.io/config-management-release/reconciler:v1.11.0-rc.4 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.0-rc.4
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.3 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.3
     
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220314190852-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.11.0-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.5.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.11.0-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.11.0-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.11.0-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.11.0-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.3
    

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

1.10.2

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20220202223125-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.10.2-rc.1
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0
    docker pull gcr.io/config-management-release/git-sync:v3.4.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.10.2-rc.1
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.10.2-rc.1
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.10.2-rc.1
    docker pull gcr.io/config-management-release/reconciler:v1.10.2-rc.1
    docker pull gcr.io/config-management-release/resource-group-controller:v0.11.1
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20220202223125-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20220202223125-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.10.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.10.2-rc.1
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.10.2-8393e15.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker tag gcr.io/config-management-release/git-sync:v3.4.0-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.4.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.10.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.10.2-rc.1
    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.10.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.10.2-rc.1
    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.10.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.10.2-rc.1
    docker tag gcr.io/config-management-release/reconciler:v1.10.2-rc.1 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.10.2-rc.1
    docker tag gcr.io/config-management-release/resource-group-controller:v0.11.1 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.11.1
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20220202223125-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.10.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.2-8393e15.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.4.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.10.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.10.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.10.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.10.2-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.11.1
    

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

1.10.1

如需将映像添加到私有注册表,请完成以下步骤:

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

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

1.10.0

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20211202160314-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.10.0-rc.8
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.10.0-c36e3d8.g2
    docker pull gcr.io/config-management-release/git-sync:v3.3.3-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.10.0-rc.8
    docker pull gcr.io/config-management-release/kube-rbac-proxy:v0.5.0
    docker pull gcr.io/config-management-release/nomos:v1.10.0-rc.8
    docker pull gcr.io/config-management-release/otelcontribcol:v0.38.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.10.0-rc.8
    docker pull gcr.io/config-management-release/reconciler:v1.10.0-rc.8
    docker pull gcr.io/config-management-release/resource-group-controller:v0.10.4
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20211202160314-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20211202160314-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.10.0-rc.8 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.10.0-rc.8
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.10.0-c36e3d8.g2 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.0-c36e3d8.g2
    docker tag gcr.io/config-management-release/git-sync:v3.3.3-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.3-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.10.0-rc.8 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.10.0-rc.8
    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.10.0-rc.8 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.10.0-rc.8
    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.10.0-rc.8 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.10.0-rc.8
    docker tag gcr.io/config-management-release/reconciler:v1.10.0-rc.8 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.10.0-rc.8
    docker tag gcr.io/config-management-release/resource-group-controller:v0.10.4 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.10.4
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20211202160314-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.10.0-rc.8
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.10.0-c36e3d8.g2
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.3-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.10.0-rc.8
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.10.0-rc.8
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.38.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.10.0-rc.8
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.10.0-rc.8
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.10.4
    

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

1.9.1

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20211001221638-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.9.1-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.9.1-86da9a8.g2
    docker pull gcr.io/config-management-release/git-sync:v3.3.3-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.9.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.9.1-rc.3
    docker pull gcr.io/config-management-release/otelcol:v0.22.0
    docker pull gcr.io/config-management-release/otelcontribcol:v0.22.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.9.1-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.9.1-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v0.7.4
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20211001221638-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20211001221638-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.9.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.9.1-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.9.1-86da9a8.g2 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.9.1-86da9a8.g2
    docker tag gcr.io/config-management-release/git-sync:v3.3.3-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.3-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.9.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.9.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.9.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.9.1-rc.3
    docker tag gcr.io/config-management-release/otelcol:v0.22.0 \
     ${PRIVATE_REGISTRY_URL}/otelcol:v0.22.0
    docker tag gcr.io/config-management-release/otelcontribcol:v0.22.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.22.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.9.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.9.1-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.9.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.9.1-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v0.7.4 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.7.4
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20211001221638-op
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.9.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.9.1-86da9a8.g2
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.3-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.9.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.9.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcol:v0.22.0
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.22.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.9.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.9.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.7.4
    

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

1.9.0

如需将映像添加到私有注册表,请完成以下步骤:

  1. 拉取 Anthos Config Management 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20210903172607-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.9.0-rc.5
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.8.2-07e2fd0.g0
    docker pull gcr.io/config-management-release/git-sync:v3.3.3-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.9.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.9.0-rc.5
    docker pull gcr.io/config-management-release/otelcol:v0.22.0
    docker pull gcr.io/config-management-release/otelcontribcol:v0.22.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.9.0-rc.5
    docker pull gcr.io/config-management-release/reconciler:v1.9.0-rc.5
    docker pull gcr.io/config-management-release/resource-group-controller:v0.7.4
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20210903172607-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20210903172607-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.9.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.9.0-rc.5
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.8.2-07e2fd0.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.8.2-07e2fd0.g0
    docker tag gcr.io/config-management-release/git-sync:v3.3.3-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.3-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.9.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.9.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.9.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/nomos:v1.9.0-rc.5
    docker tag gcr.io/config-management-release/otelcol:v0.22.0 \
     ${PRIVATE_REGISTRY_URL}/otelcol:v0.22.0
    docker tag gcr.io/config-management-release/otelcontribcol:v0.22.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.22.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.9.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.9.0-rc.5
    docker tag gcr.io/config-management-release/reconciler:v1.9.0-rc.5 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.9.0-rc.5
    docker tag gcr.io/config-management-release/resource-group-controller:v0.7.4 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.7.4
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.8.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.8.2-07e2fd0.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.3.2-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}/kube-rbac-proxy:v0.5.0
    docker push ${PRIVATE_REGISTRY_URL}/nomos:v1.8.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/otelcol:v0.22.0
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.22.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.8.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.8.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v0.7.4
    

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