You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vendor/replicated-onboarding.mdx
+50-21Lines changed: 50 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ To create the first release for your application:
158
158
<details>
159
159
<summary>What is the Embedded Cluster Config?</summary>
160
160
161
-
The Embedded Cluster Config is required to install with Embedded Cluster.
161
+
An Embedded Cluster Config must be included in the release to install with Embedded Cluster. The Embedded Cluster Config lets you define several aspects of the Kubernetes cluster that is created.
162
162
</details>
163
163
164
164
For more information, see [Use Embedded Cluster](/vendor/embedded-overview).
@@ -178,12 +178,12 @@ To create the first release for your application:
178
178
# chartVersion must match the chart version from the .tgz chart archive
179
179
chartVersion: 1.2.3
180
180
```
181
-
For more information about configuring these fields, see [HelmChart v2](custom-resource-helmchart-v2).
181
+
For more information about configuring these fields, see [HelmChart v2](/reference/custom-resource-helmchart-v2).
182
182
183
183
<details>
184
184
<summary>What is the KOTS HelmChart custom resource?</summary>
185
185
186
-
The KOTS HelmChart custom resource is required to install Helm charts with KOTS and Embedded Cluster.
186
+
The HelmChart custom resource provides the necessary instructions for processing and preparing the chart for deployment.
187
187
</details>
188
188
189
189
1. <InjectPullSecret/>
@@ -474,24 +474,16 @@ To support and test Helm installations:
474
474
475
475
### Add Support for Air Gap Installations
476
476
477
-
Replicated Embedded Cluster and KOTS support installations in _air gap_ environments with no outbound internet access. Users can install with Embedded Cluster and KOTS in air gap environments by providing air gap bundles that contain the required images for the installers and for your application.
478
-
479
-
:::note
480
-
Replicated also offers Alpha support for air gap installations with Helm. If you are interested in trying Helm air gap installations and providing feedback, please reach out to your account rep to enable this feature.
481
-
:::
477
+
Replicated supports installations in _air gap_ environments with little or no outbound internet access. For Embedded Cluster and KOTS, users install by providing an air gap bundle which contains the required images for the Replicated installer and your application. For Helm installations, users install by following automatically-generated instructions provided in the Replicated Enterprise Portal to pull all images and push them to their local image registry.
482
478
483
479
To add support for air gap installations:
484
480
485
481
1. If there are any images for your application that are not listed in your Helm chart, list these images in the `additionalImages` attribute of the KOTS Application custom resource. This ensures that the images are included in the air gap bundle for the release. One common use case for this is applications that use Kubernetes Operators. See [Define Additional Images](/vendor/operator-defining-additional-images).
486
482
487
-
1. For each Helm chart in your release, update the KOTS HelmChart custom resource `optionalValues` key to conditionally rewrite image names for air gap installations. This is done using the KOTS HasLocalRegistry, LocalRegistryHost, and LocalRegistryNamespace template functions to render the location of the given image in the user's own local registry.
488
-
489
-
For more information, see [Rewrite Image Names with HelmChart v2 for Local Registries](/vendor/helmchart-local-registries).
490
-
491
-
1. For each Helm chart in your release, in the KOTS HelmChart custom resource `builder` key, pass any values that are required in order for `helm template` to yield all the images needed to successfully install your application. See [Package Air Gap Bundles for Helm Charts](/vendor/helm-packaging-airgap-bundles).
483
+
1. For each Helm chart in your release, configure the corresponding KOTS HelmChart custom resource `builder` key. In the `builder` key, define any Helm values that must be set so that the output of `helm template` exposes all container images needed to install the chart in an air-gapped environment. This ensures that the Vendor Portal can build the air gap bundle for the release. See [Package Air Gap Bundles for Helm Charts](/vendor/helm-packaging-airgap-bundles) and [builder](/reference/custom-resource-helmchart-v2#builder).
492
484
493
485
:::note
494
-
If the default values in your Helm chart already enable all the images needed to successfully deploy, then you do not need to configure the `builder` key.
486
+
If the default values in your Helm chart already expose all the images for air gap installations, then you do not need to configure the `builder` key.
495
487
:::
496
488
497
489
<details>
@@ -502,23 +494,60 @@ To add support for air gap installations:
502
494
For many applications, running `helm template` with the default values would not yield all the images required to install. In these cases, vendors can pass the additional values in the `builder` key to ensure that the air gap bundle includes all the necessary images.
503
495
</details>
504
496
497
+
1. For each Helm chart in your release, configure the corresponding KOTS HelmChart custom resource `optionalValues` key to conditionally rewrite image names to the user's local image registry. This is done using the KOTS [HasLocalRegistry](/reference/template-functions-config-context#haslocalregistry), [LocalRegistryHost](/reference/template-functions-config-context#localregistryhost), and [LocalRegistryNamespace](/reference/template-functions-config-context#localregistrynamespace) template functions to render the location of the given image in the user's own local registry.
498
+
499
+
**Example:**
500
+
501
+
```yaml
502
+
# KOTS HelmChart custom resource
503
+
504
+
apiVersion: kots.io/v1beta2
505
+
kind: HelmChart
506
+
metadata:
507
+
name: samplechart
508
+
spec:
509
+
optionalValues:
510
+
# Define the conditional statement in the when field
1. Configure the HelmChart `optionalValues` key to conditionally rewrite the Replicated SDK image to the user's local registry. The default location for the image used by the Replicated SDK Helm chart is `registry.replicated.com/library/replicated-sdk-image`.
1. Create and promote a new release with your changes. For more information, see [Manage Releases with the Vendor Portal](releases-creating-releases) or [Managing Releases with the CLI](releases-creating-cli).
506
539
507
540
1. In the [Vendor Portal](https://vendor.replicated.com), go the channel where the release was promoted to build the air gap bundle. Do one of the following:
508
541
* If the **Automatically create airgap builds for newly promoted releases in this channel** setting is enabled on the channel, watch for the build status to complete.
509
542
* If automatic air gap builds are not enabled, go to the **Release history** page for the channel and build the air gap bundle manually.
510
543
511
-
1. Create a customer with the **Airgap Download Enabled** entitlement enabled so that you can test air gap installations. See [Create and Manage Customers](/vendor/releases-creating-customer).
544
+
1. Create or edit a customer with the **Airgap Download Enabled** entitlement enabled so that you can test air gap installations. See [Create and Manage Customers](/vendor/releases-creating-customer).
512
545
513
546
1. Download the Embedded Cluster air gap installation assets, then install with Embedded Cluster on an air gap VM to test. See [Install in Air Gap Environments with Embedded Cluster](/enterprise/installing-embedded-air-gap).
514
547
515
-
1. (Optional) Download the `.airgap` bundle for the release and the air gap bundle for the KOTS Admin Console. You can also download both bundles from the Download Portal for the target customer. Then, install in an air gap existing cluster to test. See [Air Gap Installation in Existing Clusters with KOTS](/enterprise/installing-existing-cluster-airgapped).
516
-
517
-
1. (Optional) Follow the steps in [Installing and Updating with Helm in Air Gap Environments (Alpha)](/vendor/helm-install-airgap) to test air gap installation with Helm.
548
+
1. Follow the steps in [Install and Update with Helm in Air Gap Environments](/vendor/helm-install-airgap) to access the Enterprise Portal for the customer and test air gap installation in a cluster with Helm.
518
549
519
-
:::note
520
-
Air gap Helm installations are an Alpha feature. If you are interested in trying Helm air gap installations and providing feedback, please reach out to your account rep to enable this feature.
521
-
:::
550
+
1. (Optional) Download the `.airgap` bundle for the release and the air gap bundle for the KOTS Admin Console. You can also download both bundles from the Download Portal for the target customer. Then, install with KOTS in an air gap existing cluster to test. See [Air Gap Installation in Existing Clusters with KOTS](/enterprise/installing-existing-cluster-airgapped).
522
551
523
552
### Add Roles for Multi-Node Clusters in Embedded Cluster Installations
0 commit comments