使用 Apigee Hybrid 处理私有映像仓库

本文档介绍如何将 Apigee Hybrid 配置为使用私有容器映像代码库中的映像。

概览

所有 Apigee Hybrid 运行时映像都托管在 Google Cloud Container Registry (GCR) 中。如果您出于任何原因想要使用私有映像容器代码库,可以从 GCR 下载映像,然后将其推送到您的私有代码库。您可以在替换文件中添加 Hub 详细信息,而不是替换每个组件:

配置步骤

使用私有代码库的路径设置 hub 配置属性的值。

hub: PRIVATE_REPO

例如,如果提供以下 Hub,它会自动解析映像路径:

hub: private-docker-host.example.com

解析为:

## an example of internal component vs 3rd party
containers:
- name: apigee-udca
  image: private-docker-host.example.com/apigee-udca:1.12.0
  imagePullPolicy: IfNotPresent

containers:
- name: apigee-ingressgateway
  image: private-docker-host.example.com/apigee-asm-ingress:1.18.7-asm.4-distroless
  imagePullPolicy: IfNotPresent

在命令行中显示托管在 Google Cloud 存储库中的 Apigee 映像列表:

./apigee-operator/etc/tools/apigee-pull-push.sh --list