|
1 |
| -import Prerequisites from "../partials/helm/_helm-install-prereqs.mdx" |
2 |
| - |
3 | 1 | # Install and Update with Helm in Air Gap Environments
|
4 | 2 |
|
5 |
| -This topic describes how to use Helm to install releases that contain one or more Helm charts in air-gapped environments. |
| 3 | +This topic describes how to install and update releases with Helm in air-gapped environments. |
6 | 4 |
|
7 | 5 | ## Overview
|
8 | 6 |
|
9 |
| -Replicated supports installing and updating Helm charts in air-gapped environments with no outbound internet access. In air gap Helm installations, customers are guided through the process with instructions provided in the [Replicated Download Portal](/vendor/releases-share-download-portal). |
| 7 | +Replicated supports installing and updating with Helm in _air-gapped_ environments with little or no outbound internet access. In air gap installations with Helm, customers are guided through the installation process with instructions provided in either the [Replicated Enterprise Portal](/vendor/enterprise-portal-about) or the [Replicated Download Portal](/vendor/releases-share-download-portal), depending on which is enabled for the customer. |
| 8 | + |
| 9 | +These instructions assume that the customer is logged in to the portal on a workstation that can access both the internet and their internal private image registry. Direct access to the target installation cluster is not required. The instructions also assume that the customer is familiar with `curl`, `docker`, `helm`, and `kubernetes`, and that they have some familiarity with `bash`, particularly for automating updates. |
10 | 10 |
|
11 |
| -When air gap Helm installations are enabled, an **Existing cluster with Helm** option is displayed in the Download Portal on the left nav. When selected, **Existing cluster with Helm** displays three tabs (**Install**, **Manual Update**, **Automate Updates**), as shown in the screenshot below: |
| 11 | +## Prerequisites |
12 | 12 |
|
13 |
| - |
| 13 | +Before you install, complete the following prerequisites: |
14 | 14 |
|
15 |
| -[View a larger version of this image](/images/download-helm.png) |
| 15 | +* Declare the SDK as a dependency in your Helm chart. For more information, see [Install the SDK as a Subchart](replicated-sdk-installing#install-the-sdk-as-a-subchart) in _Installing the Replicated SDK_. |
16 | 16 |
|
17 |
| -Each tab provides instructions for how to install, perform a manual update, or configure automatic updates, respectively. |
| 17 | +* If your Helm chart's default values do not expose all the required and optional images that might be needed to install in air-gapped environments, add the Replicated HelmChart custom resource to your release and configure `builder` key. For more information, see [builder](/reference/custom-resource-helmchart-v2#builder) in _HelmChart v2_. If your default values expose all images needed for air gap installations, you do not need to configure the `builder` key. |
18 | 18 |
|
19 |
| -These installing and updating instructions assume that your customer is accessing the Download Portal from a workstation that can access the internet and their internal private registry. Direct access to the target cluster is not required. |
| 19 | + <details> |
| 20 | + <summary>What is the purpose of the `builder` key?</summary> |
20 | 21 |
|
21 |
| -Each method assumes that your customer is familiar with `curl`, `docker`, `helm`, `kubernetes`, and a bit of `bash`, particularly for automating updates. |
| 22 | + Configuring the `builder` key ensures that the Vendor Portal can template the chart to discover the full list of container images required to install the chart in an air-gapped environment. The Vendor Portal uses this list of required images to create the Helm air gap installation instructions for the customer. |
| 23 | + </details> |
22 | 24 |
|
23 |
| -## Prerequisites |
| 25 | +* The customer used to install must have the following: |
24 | 26 |
|
25 |
| -Before you install, complete the following prerequisites: |
| 27 | + * A valid email address. This email address is only used as a username for the Replicated registry and is never contacted. For more information, see [Creating a Customer](/vendor/releases-creating-customer). |
26 | 28 |
|
27 |
| -<Prerequisites/> |
| 29 | + * The **Existing Cluster (Helm CLI)** install type enabled. For more information, see [Manage Install Types for a License](licenses-install-types). |
| 30 | + |
| 31 | + * The **Helm CLI Air Gap Instructions** install option enabled. |
28 | 32 |
|
29 | 33 | ## Install
|
30 | 34 |
|
31 |
| -The installation instructions provided in the Download Portal are designed to walk your customer through the first installation of your chart in an air gap environment. |
| 35 | +Helm air gap installation instructions are provided in either the Enterprise Portal or the Download Portal, depending on which is enabled for the customer. |
| 36 | + |
| 37 | +For more information about enabling the Enterprise Portal for a customer, see [Manage Enterprise Portal Access](/vendor/enterprise-portal-invite). |
| 38 | + |
| 39 | +### Enterprise Portal (Beta) |
| 40 | + |
| 41 | +To install with Helm in an air gap environment using the Enterprise Portal: |
| 42 | + |
| 43 | +1. In the [Vendor Portal](https://vendor.replicated.com), go to **Customers > [Customer Name] > Reporting**. |
| 44 | + |
| 45 | +1. In the **Enterprise portal** section, click **Visit** to log in to the portal. |
| 46 | + |
| 47 | +1. In the Enterprise Portal, go to the **Install** tab then click **Helm** in the left nav. |
| 48 | + |
| 49 | +1. On the first page of the installation wizard, complete any pre-install instructions. If the vendor did not include any custom pre-install instructions, continue to the next step. |
| 50 | + |
| 51 | +1. Complete the following fields and then click **Continue**: |
| 52 | + |
| 53 | + * **Instance Name**: Enter a name for the instance. |
| 54 | + * **Kubernetes Distribution**: Select the Kubernetes distribution of the cluster where you will install. |
| 55 | + * **Cluster Network Availability**: Select the network availability of the cluster. For air gap installations, select **No outbound requests allowed (air gap)**. |
| 56 | + * **Registry Access**: Select the option that describes your current workstation's access to the internal image registry where you will push application images during installation. For air gap installations, select either **My workstation can only access the internet AND the registry (NOT the cluster)** or **I need to download artifacts and transfer them for offline installation**. |
| 57 | + |
| 58 | + The following shows an example of the Helm air gap installation instructions in the Enterprise Portal: |
| 59 | + |
| 60 | +  |
| 61 | + [View a larger version of this image](/images/enterprise-portal-installation-guide-helm-air-gap.png) |
| 62 | + |
| 63 | +1. On the **Helm Air Gap Install** page, follow the instructions provided to install the chart and then click **Continue**. |
| 64 | + |
| 65 | +1. On the last page of the installation wizard, complete any custom post-installation instructions for the application. |
| 66 | + |
| 67 | +### Download Portal |
32 | 68 |
|
33 |
| -To install with Helm in an air gap environment: |
| 69 | +To install with Helm in an air gap environment using the Download Portal: |
34 | 70 |
|
35 | 71 | 1. In the [Vendor Portal](https://vendor.replicated.com), go to **Customers > [Customer Name] > Reporting**.
|
36 | 72 |
|
37 |
| -1. In the **Download portal** section, click **Visit download portal** to log in to the Download Portal for the customer. |
| 73 | +1. In the **Download portal** section, click **Visit download portal** to log in to the portal. |
38 | 74 |
|
39 | 75 | 1. In the Download Portal left nav, click **Existing cluster with Helm**.
|
40 | 76 |
|
@@ -74,23 +110,23 @@ To install with Helm in an air gap environment:
|
74 | 110 |
|
75 | 111 | ## Perform Updates
|
76 | 112 |
|
77 |
| -This section describes the processes of performing manual and automatic updates with Helm in air gap environments using the instructions provided in the Download Portal. |
| 113 | +This section describes the processes of performing manual and automatic updates with Helm in air gap environments using the instructions provided in the Enterprise Portal or the Download Portal. |
78 | 114 |
|
79 | 115 | ### Manual Updates
|
80 | 116 |
|
81 |
| -The manual update instructions provided in the Download Portal are similar to the installation instructions. |
| 117 | +The manual update instructions provided in the Enterprise Portal or Download Portal are similar to the installation instructions. |
82 | 118 |
|
83 | 119 | However, the first step prompts the customer to select their current version an the target version to install. This step takes [required releases](/vendor/releases-about#properties) into consideration, thereby guiding the customer to the versions that are upgradable from their current version.
|
84 | 120 |
|
85 | 121 | The additional steps are consistent with installation process until the `preflight` and `install` commands where customers provide the existing values from the cluster with the `helm get values` command. Your customer will then need to edit the `values.yaml` to reference the new image tags.
|
86 | 122 |
|
87 | 123 | If the new version introduces new images or other values, Replicated recommends that you explain this at the top of your release notes so that customers know they will need to make additional edits to the `values.yaml` before installing.
|
88 | 124 |
|
89 |
| -### Automate Updates |
| 125 | +### Automate Updates (Download Portal Only) |
90 | 126 |
|
91 | 127 | The instructions in the Download Portal for automating updates use API endpoints that your customers can automate against.
|
92 | 128 |
|
93 |
| -The instructions in the Download Portal provide customers with example commands that can be put into a script that they run periodically (nightly, weekly) using GitHub Actions, Jenkins, or other platforms. |
| 129 | +The instructions provide customers with example commands that can be put into a script that they run periodically (nightly, weekly) using GitHub Actions, Jenkins, or other platforms. |
94 | 130 |
|
95 | 131 | This method assumes that the customer has already done a successful manual installation, including the configuration of the appropriate `values`.
|
96 | 132 |
|
|
0 commit comments