Important: RKE add-on install is only supported up to Rancher v2.0.8

Please use the Rancher helm chart to install HA Rancher. For details, see the HA Install - Installation Outline.

If you are currently using the RKE add-on install method, see Migrating from an HA RKE Add-on Install for details on how to move to using the helm chart.

If you operate Rancher behind a proxy and you want to access services through the proxy (such as retrieving catalogs), you must provide Rancher information about your proxy. As Rancher is written in Go, it uses the common proxy environment variables as shown below.

Make sure NO_PROXY contains the network addresses, network address ranges and domains that should be excluded from using the proxy.

Environment variable Purpose
HTTP_PROXY Proxy address to use when initiating HTTP connection(s)
HTTPS_PROXY Proxy address to use when initiating HTTPS connection(s)
NO_PROXY Network address(es), network address range(s) and domains to exclude from using the proxy when initiating connection(s)

Note NO_PROXY must be in uppercase to use network range (CIDR) notation.

High Availability Installation

When using High Availability Installation, the environment variables need to be added to the RKE Config File template.

The environment variables should be defined in the Deployment inside the RKE Config File Template. You only have to add the the part starting with env: to (but not including) ports:. Make sure the indentation is identical to the preceding name:. Required values for NO_PROXY are:

  • localhost
  • Configured service_cluster_ip_range (default:

The example below is based on a proxy server accessible at, and excluding usage of the proxy when accessing network range, the configured service_cluster_ip_range ( and every hostname under the domain If you have changed the service_cluster_ip_range, you have to update the value below accordingly.

  kind: Deployment
  apiVersion: extensions/v1beta1
    namespace: cattle-system
    name: cattle
    replicas: 1
          app: cattle
        serviceAccountName: cattle-admin
        - image: rancher/rancher:latest
          imagePullPolicy: Always
          name: cattle-server
          - name: HTTP_PROXY
            value: ""
          - name: HTTPS_PROXY
            value: ""
          - name: NO_PROXY
            value: "localhost,,,,,"