本文档介绍如何将 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.11.2 imagePullPolicy: IfNotPresent containers: - name: apigee-ingressgateway image: private-docker-host.example.com/apigee-asm-ingress:1.17.2-asm.8-distroless imagePullPolicy: IfNotPresent
点击展开 Apigee 映像列表
apigee: gcr.io/apigee-release/hybrid/apigee-mart-server:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-synchronizer:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-runtime:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-cassandra-backup-utility:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-udca:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-connect-agent:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-watcher:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-operators:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-redis:YOUR_HYBRID_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-mint-task-scheduler:YOUR_HYBRID_VERSION_TAG third party: gcr.io/apigee-release/hybrid/apigee-stackdriver-logging-agent:stackdriver-logging-agent_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-prom-prometheus:prom-prometheus_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:stackdriver-prometheus-sidecar_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-kube-rbac-proxy:kube-rbac-proxy_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-envoy:envoy_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-prometheus-adapter:prometheus-adapter_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-asm-ingress:SERVICE_MESH_VERSION_TAG gcr.io/apigee-release/hybrid/apigee-asm-istiod:SERVICE_MESH_VERSION_TAG s gcr.io/apigee-release/hybrid/apigee-fluent-bit:2fluent-bit_VERSION_TAG
在命令行中显示托管在 Google Cloud 存储库中的 Apigee 映像列表:
./apigee-operator/etc/tools/apigee-pull-push.sh --list