Usa un repositorio de imágenes privado con Apigee Hybrid

En este documento, se explica cómo configurar Apigee Hybrid para usar imágenes de un repositorio de imágenes de contenedor privado.

Descripción general

Todas las imágenes del entorno de ejecución de Apigee Hybrid se alojan en Artifact Registry (AR). Si, por algún motivo, deseas usar un repositorio de contenedores de imágenes privadas, puedes descargar las imágenes desde AR y enviarlas a tu repositorio privado. En lugar de anular cada componente, puedes agregar detalles del concentrador en las anulaciones:

Pasos de configuración

Establece el valor de la propiedad de configuración hub con la ruta de acceso a tu repositorio privado.

hub: PRIVATE_REPO

Por ejemplo, si se proporciona el siguiente concentrador, se resolverá de forma automática la ruta de la imagen:

hub: private-docker-host.example.com

como:

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

containers:
- name: apigee-ingressgateway
  image: private-docker-host.example.com/apigee-asm-ingress:1.18.7-asm.4-distroless
  imagePullPolicy: IfNotPresent
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-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
    gcr.io/apigee-release/hybrid/apigee-fluent-bit:fluent-bit_VERSION_TAG
    gcr.io/apigee-release/hybrid/apigee-open-telemetry-collector:open-telemetry-collector_VERSION_TAG
  

To display a list of the Apigee images hosted in the Google Cloud repository on the command line:

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