Pull the hybrid images

The images for the runtime container images are stored in a publicly available Google Cloud Repository (GCR). By default, the hybrid installer has the paths to the images, and you do not have to do anything further.

If, however, your Kubernetes servers are not able to access the GCR, you can download the images manually and add them to your local Docker repository, as explained in the next section.

Download the runtime images manually

This section explains how to use gcloud to fetch the credentials needed to download the images. Follow these steps if you are not on GKE, and your Kubernetes servers are not able to access the GCR. See also Authentication methods in the GCR documentation.

The following procedure requires Docker version 17.07 or later.

To download the runtime images manually:

  1. Install the Google Cloud SDK. You need to be able to run gcloud commands on your computer to perform the following steps.
  2. Install the Docker credential helper:
    gcloud components install docker-credential-gcr

    You must use Docker version 17.07 or later.

  3. Use the Docker credential helper to fetch the Google Container Registry credentials:
    docker-credential-gcr configure-docker
  4. Authorize gcloud to access the Cloud Platform with your Google user credentials.
    gcloud auth login
  5. Get an access token and use it to log in to the docker repository:
    gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://us.gcr.io
  6. Pull the images as follows. Be sure to append the 1.0.0-beta tag to each image name.
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/edge-hybrid-mart:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/apigee-hybrid-authn-authz:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/edge-hybrid-sync:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/edge-hybrid-runtime:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/apigee-cassandra-client:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/apigee-cassandra-backup-utility:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/edge-udca:1.0.0-beta
    docker pull us.gcr.io/apigee-hybrid-237023/apigee/google-fluentd:1.0.0-beta
    docker pull gcr.io/google-containers/fluentd-gcp:2.0.18
    docker pull gcr.io/stackdriver-prometheus/stackdriver-prometheus-sidecar:release-0.4.0
    docker pull prom/prometheus:v2.6.1
    docker pull gcr.io/google-containers/busybox:1.27
  7. Push the images to your own local container repository. For guidance, see docker push.
  8. Override the default GCR URLs for each container in your overrides.yaml file. For example:
        url: "your_image_repository_url/apigee-cassandra-3.11.3:1.0.0-beta"
        url: "your_image_repository_url/hybridmart:1.0.0-beta"
        url: "your_image_repository_url/apigee-nginx-1.15.8:1.0.0-beta"
        url: "your_image_repository_url/apigee-hybrid-authn-authz:1.0.0-beta"
        url: "your_image_repository_url/hybridsync:1.0.0-beta"
        url: "your_image_repository_url/hybridrt:1.0.0-beta"
        url: "your_image_repository_url/edge-udca:1.0.0-beta"
        url: "your_image_repository_url/google-fluentd:1.0.0-beta"

Next step

1 2 3 4 5 6 7 8 Next: Credentials 10 11