> [!CAUTION]
> You are currently viewing version 1.3 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.3 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/install-download-cert-manager-istio-eks.html)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/install-download-cert-manager-istio-eks.html)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/install-download-cert-manager-istio-eks.html)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/install-download-cert-manager-istio-eks.html)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/install-download-cert-manager-istio-eks.html)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/install-download-cert-manager-istio-eks.html)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/install-download-cert-manager-istio-eks.html)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/install-download-cert-manager-istio-eks.html)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/install-download-cert-manager-istio-eks.html)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/install-download-cert-manager-istio-eks.html)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/install-download-cert-manager-istio-eks.html)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/install-download-cert-manager-istio-eks.html)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/install-download-cert-manager-istio-eks.html)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/install-download-cert-manager-istio-eks.html)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-download-cert-manager-istio-eks.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/install-download-cert-manager-istio-eks.html)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/install-download-cert-manager-istio-eks.html)

This step explains how to download and install
[cert-manager](https://cert-manager.io/docs/) and [Anthos Service Mesh](https://cloud.google.com/service-mesh/docs/overview) (ASM). These services are required for Apigee hybrid to operate.

## Install cert-manager


Use one of the following two commands to install cert-manager v0.14.2 from GitHub.
To find your `kubectl` version use the `kubectl version`
command.

- If you have Kubernetes **1.15** or newer:

  ```
  kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.14.2/cert-manager.yaml
  ```
- Kubernetes versions older than **1.15** :

  ```
  kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.14.2/cert-manager-legacy.yaml
  ```


You will see a response that the `cert-manager` namespace was created and several cert-manager
resources were created in that namespace.

## Prerequisites

1. Check your [Cloud SDK configuration](https://cloud.google.com/sdk/gcloud/reference/config) settings using the following command:

   ```
   gcloud config list
   [compute]
   region = us-central1
   [core]
   account = user@acme.com
   disable_usage_reporting = False
   project = my-hybrid-project

   Your active configuration is: [default]
   ```
2. Make sure the compute region or zone is set to the region or zone you used when you created your cluster. If you created a regional cluster, use `unset` to clear the compute/zone property if it is set. If you created a zonal cluster, use `unset` to clear the compute/region property if it is set. Your config must have either the compute region or zone set, but not both. For example, to clear the `compute/zone property` using `unset`, use the following command:

   ```
   gcloud config unset compute/zone
   ```
3. Set a variable with your `KDUBECONFIG` file path using the following command. This file was created on the admin machine when you created your cluster.

   ```
   export KUBECONFIG=KUBECONFIG_PATH
   ```


   For example:

   ```
   export KUBECONFIG=~/.kube/my-config
   ```

## Set up and download ASM

Next, use the ASM documentation to set up your environment and download ASM.

Read the following steps carefully before you begin. We will ask you to perform some of the steps
listed in the ASM documentation, then return here to complete the installation.

1. Go to the ASM installation instructions and install the appropriate ASM version for your hybrid setup:
   - For **new hybrid installations** , install ASM version 1.6.x:


     Go to
     [Installing
     Anthos Service Mesh on attached clusters](https://cloud.google.com/service-mesh/docs/archive/1.6/docs/attached-clusters-install) and perform all of the ASM steps up to and including
     [Create
     the `istio-system` namespace](https://cloud.google.com/service-mesh/docs/archive/1.6/docs/attached-clusters-install#create_the_istio-system_namespace), then stop and go to the next section
     [Apply the manifest](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-download-cert-manager-istio-eks.md.txt#apply-the-manifest) below.
   - For upgrades from Apigee hybrid version 1.2.x, install ASM version 1.5.x: Go to
     [Installing
     Anthos Service Mesh on an existing cluster](https://cloud.google.com/service-mesh/docs/archive/1.5/docs/gke-install-existing-cluster) and perform all of the ASM steps up to and including
     [Preparing
     resource configuration files](https://cloud.google.com/service-mesh/docs/archive/1.5/docs/gke-install-existing-cluster#preparing_resource_configuration_files), then stop and go to the next section
     [Apply the manifest](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-download-cert-manager-istio-eks.md.txt#apply-the-manifest) below.

   > [!WARNING]
   > **Important:** After completing the steps in the section "**Create
   > the `istio-system` namespace** " (if installing ASM 1.6) or "**Preparing resource
   > configuration files**" (if installing ASM 1.5), stop and continue with the steps listed in the next section. We recommend that you wait to apply the manifest file until instructed below.

## Apply the manifest


**When you have downloaded and unzipped the ASM installation file**, continue
with the following steps:

1. Make sure you are in the Istio directory that you downloaded and unzipped. For example: `1.6.11-asm.1`.
2. Execute the following command for the version of Istio you installed:
3. Finally, return to the ASM documentation to [Check
   the control plane components](https://cloud.google.com/service-mesh/docs/attached-clusters-install#check_the_control_plane_components) to validate your installation.

## Customizing the ASM installation


The ASM installation you just performed is a minimal installation, sufficient to test and use
Apigee hybrid for basic use cases. For information on addressing more advanced use cases, such as
adding, removing, or modifying load balancer port numbers, see
[Enabling optional features](https://cloud.google.com/service-mesh/docs/enable-optional-features).

## Summary


You now have cert-manager and ASM installed, and you are ready to install the
Apigee hybrid command line tool on your local machine.
[1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-create-cluster-eks.md.txt) [2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-download-cert-manager-istio-eks.md.txt) [(NEXT) Step 3: Install apigeectl](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-download-install-eks.md.txt) [4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-copy-overrides-eks.md.txt) [5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/install-apply-hybrid-eks.md.txt)

<br />